diff options
| author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2021-01-31 22:29:57 -0500 |
|---|---|---|
| committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2021-01-31 22:29:57 -0500 |
| commit | f456b802754c3d1095b488d670bebba21018d823 (patch) | |
| tree | bf7011f585a8a35ab4cc7ff98aaeebed4de87f84 /setup.cfg | |
| parent | 918200c02d392c17862fff81bbf58820ed15c725 (diff) | |
| download | cmd2-git-f456b802754c3d1095b488d670bebba21018d823.tar.gz | |
Add black for automatic code format
Diffstat (limited to 'setup.cfg')
| -rw-r--r-- | setup.cfg | 26 |
1 files changed, 22 insertions, 4 deletions
@@ -3,13 +3,31 @@ testpaths = tests [flake8] -exclude = .git,.idea,.pytest_cache,.tox,.nox,.venv,.vscode,build,cmd2.egg-info,dist,htmlcov,__pycache__,*.egg -max-line-length = 127 +count = True +ignore = E203,E231,W503 # E231 can be removed once black is fixed. max-complexity = 26 +max-line-length = 127 +show-source = True +statistics = True +exclude = + .git + __pycache__ + .tox + .nox + .eggs + *.eggs, + .venv, + .idea, + .pytest_cache, + .vscode, + build, + dist, + htmlcov [isort] -line_length=1 -skip=cmd2/__init__.py +line_length = 127 +skip = cmd2/__init__.py +profile = black multi_line_output = 3 include_trailing_comma = true force_grid_wrap = 0 |
