-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
28 lines (22 loc) · 884 Bytes
/
setup.cfg
File metadata and controls
28 lines (22 loc) · 884 Bytes
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
# See https://www.chasefinch.com/nitpick-style.toml
[docformatter]
wrap-descriptions = 79
[flake8]
select = WPS
extend-exclude = .venv, .git
filename = *.py
nested-classes-whitelist = Meta, Params, Config, Media
multiline-quotes = """
allowed-domain-names = id, id_, pk, i, q, db, s3, ui, js, ip, of, by, ad, handle, objects, value, values, result, results, item, items, param, params, arg, args, x, y, z, dx, dy, dz, x1, x2, x3, y1, y2, y3, z1, z2, z3
forbidden-domain-names = index, err, foo, bar, baz, quux, foobar, klass, idx, buf, exc, con, conn, db_conn, req, res, resp, cur, col, pos, sep, fmt, dt, ch, tgt
ignore = WPS300, WPS475
extend-ignore =
# Complexity rules
WPS2,
# NOQA comment limits
WPS402,
# Underscored number pattern; We prefer the opposite
WPS114
per_file_ignores =
# Allow nested classes and magic numbers in tests
tests/*: WPS431, WPS432, WPS473