diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-07-06 16:00:48 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-07-06 16:00:48 -0400 |
commit | 1c9cd1dd698d159e45c0c348d64a315ddd00652c (patch) | |
tree | f4aba102b2725f1894087872a452c99048de49fd /tasks.py | |
parent | a967229a56803aa6c3a19915febb8bcb689c9dc3 (diff) | |
download | cmd2-git-1c9cd1dd698d159e45c0c348d64a315ddd00652c.tar.gz |
Updated flake8 invoke task to exclude unecessary directories to prevent it taking a long time when using a venv
Diffstat (limited to 'tasks.py')
-rw-r--r-- | tasks.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -233,5 +233,5 @@ namespace.add_task(pypi_test) @invoke.task def flake8(context): "Run flake8 linter and tool for style guide enforcement" - context.run("flake8 --ignore=E252,W503 --max-complexity=31 --max-line-length=127 --show-source --statistics") + context.run("flake8 --ignore=E252,W503 --max-complexity=31 --max-line-length=127 --show-source --statistics --exclude=.git,__pycache__,.tox,.eggs,*.egg,.venv,.idea,.pytest_cache,.vscode,build,dist,htmlcov") namespace.add_task(flake8) |