diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2021-02-01 20:47:27 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2021-02-01 20:47:27 -0500 |
commit | f6911706416514adfc7d591587a868cd714c9a25 (patch) | |
tree | f56aafe4c2bf6943d40e891ed1d619218ee6e113 /tasks.py | |
parent | 918200c02d392c17862fff81bbf58820ed15c725 (diff) | |
download | cmd2-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.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) |