-
-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathsetup.cfg
More file actions
23 lines (21 loc) · 733 Bytes
/
Copy pathsetup.cfg
File metadata and controls
23 lines (21 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[flake8]
; Rules we don’t really need:
; E226: missing whitespace around binary operator
; E501: line too long
; W503: line break before binary operator
; W504: line break after binary operator
; SQLAlchemy:
; E711: comparison to None should be ‘if cond is None:’
ignore = E226,E501,E711,W503,W504
; E402: `weasyl.config._in_test` currently needs to be set before importing `weasyl.define` (directly or indirectly)
; E722: bare `except` and `raise` is correct for `finally`-style cleanup only on the error path
per-file-ignores =
libweasyl/models/media.py:E722
weasyl/test/conftest.py:E402
exclude =
.git,
libweasyl/alembic,
node_modules,
static,
weasyl-apidocs,
weasyl/templates/*,