-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
.flake8
25 lines (23 loc) · 831 Bytes
/
.flake8
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
[flake8]
enable-extensions = G
max-doc-length = 90
max-line-length = 90
select = A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,B901,B902,B903,B950
# E226: Missing whitespace around arithmetic operators can help group things together.
# E501: Superseeded by B950 (from Bugbear)
# E722: Superseeded by B001 (from Bugbear)
# W503: Mutually exclusive with W504.
ignore = E226,E501,E722,W503
per-file-ignores =
# I900: Caused by awkward non-package imports.
# S101: Pytest uses assert
# S105: Examples, not real passwords
tests/*:S101,I900,S105
examples/*:I900,S105
# flake8-import-order
application-import-names = aiohttp_admin, conftest, _auth, _auth_helpers, _models, _resources
import-order-style = pycharm
# flake8-quotes
inline-quotes = "
# flake8-requirements
requirements-file = requirements-dev.txt