-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.flake8
More file actions
18 lines (18 loc) · 779 Bytes
/
.flake8
File metadata and controls
18 lines (18 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# .flake8
[flake8]
select = A,B,B9,BLK,C,E,F,I,N,S,W
ignore = E203,W503,E501,B905,E704,C901
max-complexity = 12
max-line-length = 80
application-import-names = operationsgateway_api,test
import-order-style = google
enable-extensions=G
per-file-ignores =
test/*: S101, S303, F401, F811
test/experiments/scheduler_mocking/models.py: N815
operationsgateway_api/src/models.py: B902
operationsgateway_api/src/records/waveform.py: E402
# As recommended on https://github.com/tiangolo/fastapi/discussions/7463
extend-immutable-calls = Depends, fastapi.Depends, Query, fastapi.Query, Body, fastapi.Body, Cookie, fastapi.Cookie, Path, fastapi.Path
# As recommended on https://github.com/pydantic/pydantic/issues/568
classmethod-decorators = classmethod, validator, root_validator