forked from closeio/quotequail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
64 lines (61 loc) · 1.67 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
[flake8]
ignore=
# !!! make sure you have a comma at the end of each line EXCEPT the LAST one
# line length, already enforced by black
E501,
# https://pypi.org/project/flake8-future-import/
FI1
# Missing docstrings
D1,
# One-line docstring should fit on one line with quotes.
# We ignore this because it's OK to buy yourself a few extra characters
# for the summary line even if the summary line is *the only* line.
D200,
# 1 blank line required between summary line and description
D205,
# Multi-line docstring summary should start at the first line.
# We ignore this because we agreed in #20553 that we we want to put the
# summary line below """ for multi-line docstrings.
D212,
# First line should end with a period
D400,
# This is not PEP8-compliant and conflicts with black
W503,
W504,
# This is not PEP8-compliant and conflicts with black
E203,
# Too intrusive, sometimes makes code less readable
SIM106
# Allow f-strings
SFS301,
# Allow .format
SFS201
exclude=venv
#max-complexity=2
banned-modules=
typing.Text = use str
require-code=True
[isort]
skip=venv,src
known_first_party=quotequail
known_tests=tests
sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,TESTS,LOCALFOLDER
default_section=THIRDPARTY
use_parentheses=true
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
combine_as_imports=True
line_length=87
[mypy]
python_version = 3.7
ignore_missing_imports = True
no_implicit_optional = True
strict_equality = True
follow_imports = normal
warn_unreachable = True
show_error_context = True
pretty = True
files = quotequail
[tool:pytest]
norecursedirs=venv