forked from WildRikku/OctoPrint-SpoolManager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
32 lines (32 loc) · 1013 Bytes
/
Copy pathsetup.cfg
File metadata and controls
32 lines (32 loc) · 1013 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
29
30
31
32
[flake8]
# Aligned with OctoPrint core's linting setup (Black + isort + flake8).
# The code base is Black-formatted (one dedicated reformat commit, listed in
# .git-blame-ignore-revs), so whitespace/indentation codes are active again.
max-line-length = 120
extend-ignore =
# Black compatibility (slice spacing, line-break before binary operator)
E203,
W503,
# Long lines Black leaves alone (strings/comments); Black owns line length
E501,
# Comment formatting ("##" block comments are used throughout on purpose)
E265,
E266,
E262,
# setup.py places imports after the config variables by design
E402
per-file-ignores =
# peewee overloads ==/!= on model fields to build SQL; `is None` would
# produce a plain bool instead of a query expression
octoprint_SpoolManager/DatabaseManager.py: E711, E712
exclude =
.git,
__pycache__,
build,
dist,
node_modules,
translations,
3rdPartySoftware,
*.egg-info,
.venv,
.pytest_cache