-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.cfg
75 lines (64 loc) · 1.94 KB
/
setup.cfg
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[flake8]
# https://github.com/ambv/black#line-length
max-line-length = 88
ignore =
# E203: whitespace before ':' (defer to black)
E203,
# E231: missing whitespace after ',' (defer to black)
E231,
# E501: line length (defer to black)
E501,
# W503: break before binary operators (defer to black)
W503,
# A003: [builtins] allow class attributes to be named after builtins (e.g., `id`)
A003,
# E704, multiple statements on one line (defer to black)
E704,
exclude =
migrations,
[pep8]
max-line-length = 88
ignore =
# E701: multiple statements on one line (flags py3 inline type hints)
E701,
[pydocstyle]
# Harvey's initial attempt at pydocstyle rules. Please suggest improvements!
# The `(?!\d{4}_)` pattern is a hacky way to exclude migrations, since pydocstyle doesn't
# have an `exclude` option. https://github.com/PyCQA/pydocstyle/issues/175
match = (?!test_)(?!\d{4}_).*\.py
# See http://www.pydocstyle.org/en/5.0.1/error_codes.html
ignore =
# D100: docstring in public module (we don't have a practice around this)
D100,
# D104: docstring in public package (we don't have a practice around this)
D104,
# D105: docstring in magic method
D105,
# D105: docstring in __init__ method
D107,
# D203: Blank line required before class docstring
D203,
# D213: Multi-line docstring summary should start at the second line (need to choose D212 or D213; see https://stackoverflow.com/a/45990465)
D213,
# D302: Use u”“” for Unicode docstrings
D302,
[tool:isort]
force_single_line = True
line_length = 88
known_first_party = jira_select
default_section = THIRDPARTY
skip = .tox,.eggs,build,dist
[mypy-jira.*]
ignore_missing_imports = True
[mypy-configobj.*]
ignore_missing_imports = True
[mypy-appdirs.*]
ignore_missing_imports = True
[mypy-keyring.*]
ignore_missing_imports = True
[mypy-rich.*]
ignore_missing_imports = True
[mypy-PyInquirer.*]
ignore_missing_imports = True
[mypy-simpleeval.*]
ignore_missing_imports = True