-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged PR 610: Adding more codestyle checkers and fixups
pylint apparently removed the bad-whitespace check at some point [1] This adds pycodestyle back to the mix to check for it. [1] pylint-dev/pylint#3512
- Loading branch information
Brian Kroth
authored and
Brian Kroth
committed
Sep 2, 2022
1 parent
3361178
commit 176dd1d
Showing
22 changed files
with
163 additions
and
94 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
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 |
---|---|---|
@@ -1,15 +1,36 @@ | ||
# vim: set ft=dosini: | ||
|
||
[MAIN] | ||
|
||
# Specify a score threshold to be exceeded before program exits with error. | ||
fail-under=9.5 | ||
fail-under=9.7 | ||
|
||
[FORMAT] | ||
# Load some extra checkers. | ||
load-plugins= | ||
pylint.extensions.bad_builtin, | ||
pylint.extensions.code_style, | ||
pylint.extensions.docparams, | ||
pylint.extensions.docstyle, | ||
pylint.extensions.for_any_all, | ||
pylint.extensions.mccabe, | ||
pylint.extensions.no_self_use, | ||
pylint.extensions.private_import, | ||
pylint.extensions.redefined_loop_name, | ||
pylint.extensions.redefined_variable_type, | ||
pylint.extensions.set_membership, | ||
pylint.extensions.typing | ||
|
||
[FORMAT] | ||
# Maximum number of characters on a single line. | ||
max-line-length=132 | ||
|
||
[MESSAGE CONTROL] | ||
disable= | ||
no-else-return, | ||
consider-using-assignment-expr, | ||
deprecated-typing-alias, # disable for now - only deprecated recently | ||
docstring-first-line-empty, | ||
missing-raises-doc | ||
|
||
disable=no-else-return | ||
[STRING] | ||
#check-quote-consistency=yes | ||
check-str-concat-over-line-jumps=yes |
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 |
---|---|---|
|
@@ -10,6 +10,7 @@ dependencies: | |
- configspace | ||
- pip | ||
- pylint | ||
- pycodestyle | ||
- autopep8 | ||
- pytest | ||
- setuptools | ||
|
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 |
---|---|---|
|
@@ -10,6 +10,7 @@ dependencies: | |
- configspace | ||
- pip | ||
- pylint | ||
- pycodestyle | ||
- autopep8 | ||
- pytest | ||
- setuptools | ||
|
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 |
---|---|---|
|
@@ -10,6 +10,7 @@ dependencies: | |
- configspace | ||
- pip | ||
- pylint | ||
- pycodestyle | ||
- autopep8 | ||
- pytest | ||
- setuptools | ||
|
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
Oops, something went wrong.