-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathsetup.cfg
59 lines (54 loc) · 1.55 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
[options]
include_package_data = True
package_dir =
=src
packages = find:
install_requires =
# NOTE: remember to keep `constraints-oldest.txt` in sync with these
darkgraylib~=2.2.0
toml>=0.10.0
typing_extensions>=4.0.1
# NOTE: remember to keep `.github/workflows/python-package.yml` in sync
# with the minimum required Python version
python_requires = >=3.9
[options.packages.find]
where = src
[options.package_data]
darker =
py.typed
.pyi
[flake8]
# Line length according to Black rules
max-line-length = 88
# Ignore rules which conflict with Black
ignore =
# C408 Unnecessary dict call - rewrite as a literal.
C408
# D400 First line should end with a period (from flake8-docstrings)
D400
# D415 First line should end with a period, question mark, or exclamation point
D415
# E203 Whitespace before ':'
E203
# E231 missing whitespace after ','
E231
# E501 Line too long (82 > 79 characters)
E501
# E701 Multiple statements on one line (colon)
E701
# W503 line break before binary operator
W503
# Darglint options when run as a Flake8 plugin:
strictness = short
docstring_style = sphinx
# This requires https://github.com/terrencepreilly/darglint/pull/210:
darglint_ignore_regex=^test_
[darglint]
# Run `darglint --verbosity=2` to get nice descriptions in messages.
# Unfortunately `verbosity` isn't read from the configuration file.
message_template = {path}:{line}: {msg} {msg_id} {obj}
docstring_style = sphinx
ignore_regex = ^test_
[codespell]
ignore-words-list = nd
skip = .git,*.json