-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from Splines/dev
- Loading branch information
Showing
15 changed files
with
562 additions
and
308 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"recommendations": [ | ||
"streetsidesoftware.code-spell-checker", | ||
"ms-python.pylint", | ||
"ms-python.black-formatter" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
////////////////////////////////////// | ||
// Python (linting & formatting) | ||
////////////////////////////////////// | ||
"[python]": { | ||
"editor.defaultFormatter": "ms-python.black-formatter", | ||
"editor.formatOnSave": true | ||
}, | ||
"pylint.importStrategy": "fromEnvironment", | ||
////////////////////////////////////// | ||
// Files | ||
////////////////////////////////////// | ||
"files.exclude": { | ||
"**/__pycache__/": true, | ||
}, | ||
////////////////////////////////////// | ||
// Editor | ||
////////////////////////////////////// | ||
"editor.tabSize": 4, | ||
"editor.insertSpaces": true, | ||
"editor.detectIndentation": false, | ||
"editor.wordWrap": "wordWrapColumn", | ||
"editor.wordWrapColumn": 100, // toggle via Alt + Z shortcut | ||
"editor.mouseWheelZoom": true, | ||
"editor.rulers": [ | ||
{ | ||
"column": 80, // soft limit | ||
"color": "#e5e5e5" | ||
}, | ||
{ | ||
"column": 100, // hard limit | ||
"color": "#c9c9c9" | ||
} | ||
], | ||
////////////////////////////////////// | ||
// Git | ||
////////////////////////////////////// | ||
"git.inputValidation": "warn", | ||
"git.inputValidationSubjectLength": 50, | ||
"git.inputValidationLength": 72, | ||
////////////////////////////////////// | ||
// Spell Checker | ||
////////////////////////////////////// | ||
"cSpell.words": [ | ||
"github", | ||
"pylint" | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# This is NOT published as PyPI package. We just use this file to declare | ||
# some formatting/linting rules. | ||
|
||
[tool.pylint."messages control"] | ||
disable = [ | ||
"missing-module-docstring", | ||
"missing-function-docstring", | ||
"missing-class-docstring", | ||
] | ||
|
||
[tool.pylint.format] | ||
max-line-length = 100 | ||
max-module-lines = 500 | ||
|
||
[tool.black] | ||
line-length = 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.