Fix some flake8/pycodestyle issues

This commit is contained in:
Swen Kooij
2019-10-19 13:04:53 +03:00
parent 2f7314d105
commit 19f0ddb336
5 changed files with 11 additions and 25 deletions

View File

@@ -62,10 +62,7 @@ setup(
cmdclass={
"lint": create_command(
"Lints the code",
[
["flake8", "setup.py", "localized_fields", "tests"],
["pycodestyle", "setup.py", "localized_fields", "tests"],
],
[["flake8", "setup.py", "localized_fields", "tests"]],
),
"lint_fix": create_command(
"Lints the code",
@@ -132,12 +129,10 @@ setup(
"verify": create_command(
"Verifies whether the code is auto-formatted and has no linting errors",
[
[
["python", "setup.py", "format_verify"],
["python", "setup.py", "format_docstrings_verify"],
["python", "setup.py", "sort_imports_verify"],
["python", "setup.py", "lint"],
]
["python", "setup.py", "format_verify"],
["python", "setup.py", "format_docstrings_verify"],
["python", "setup.py", "sort_imports_verify"],
["python", "setup.py", "lint"],
],
),
"test": create_command(