We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c689e74 commit 9d90c1eCopy full SHA for 9d90c1e
tasks.py
@@ -227,3 +227,11 @@ def pypi_test(context):
227
"Build and upload a distribution to https://test.pypi.org"
228
context.run('twine upload --repository-url https://test.pypi.org/legacy/ dist/*')
229
namespace.add_task(pypi_test)
230
+
231
232
+# Flake8 - linter and tool for style guide enforcement and linting
233
+@invoke.task
234
+def flake8(context):
235
+ "Run flake8 linter and tool for style guide enforcement"
236
+ context.run("flake8 --ignore=E252 --max-complexity=31 --max-line-length=127 --show-source --statistics")
237
+namespace.add_task(flake8)
0 commit comments