forked from akaihola/darkgraylib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
33 lines (31 loc) · 1 KB
/
Copy pathsetup.cfg
File metadata and controls
33 lines (31 loc) · 1 KB
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
[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
# E231 missing whitespace after ','
E231
# E501 line too long (> 88 characters) - handled by Ruff
E501
# 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