summaryrefslogtreecommitdiff
path: root/setup.cfg
blob: b405af4eaee5c5ed0bb67f8ef28f4f13123e0b32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[tool:pytest]
testpaths =
    tests

[flake8]
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,.git,__pycache,.tox,.nox,.venv,.eggs,.idea,.vscode,build,dist.htmlcov
profile = black
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true

[doc8]
ignore-path=docs/_build,.git,.idea,.pytest_cache,.tox,.nox,.venv,.vscode,build,cmd2,examples,tests,cmd2.egg-info,dist,htmlcov,__pycache__,*.egg,plugins
max-line-length=120
verbose=0