summaryrefslogtreecommitdiff
path: root/tasks.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2021-02-01 20:47:27 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2021-02-01 20:47:27 -0500
commitf6911706416514adfc7d591587a868cd714c9a25 (patch)
treef56aafe4c2bf6943d40e891ed1d619218ee6e113 /tasks.py
parent918200c02d392c17862fff81bbf58820ed15c725 (diff)
downloadcmd2-git-black_config.tar.gz
Added black to Pipfile and black configuration to pyrpoject.tomlblack_config
Also: - Updated flake8 and isort config in setup.cfg to be consistent with black - Simplified how flake8 is executed by invoke task - Simplified how flake8 is executed by GitHub Actions workflow
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tasks.py b/tasks.py
index 4bc4540e..3ffd5259 100644
--- a/tasks.py
+++ b/tasks.py
@@ -349,8 +349,7 @@ namespace.add_task(pypi_test)
def flake8(context):
"""Run flake8 linter and tool for style guide enforcement"""
with context.cd(TASK_ROOT_STR):
- context.run("flake8 --ignore=E252,W503 --max-complexity=26 --max-line-length=127 --show-source --statistics "
- "--exclude=.git,__pycache__,.tox,.nox,.eggs,*.egg,.venv,.idea,.pytest_cache,.vscode,build,dist,htmlcov")
+ context.run("flake8")
namespace.add_task(flake8)