2022-05-13 17:42:42 +00:00
|
|
|
[flake8]
|
|
|
|
select = B,B9,C,D,DAR,E,F,N,RST,S,W
|
2022-05-31 18:36:47 +00:00
|
|
|
ignore = E203,E501,RST201,RST203,RST301,W503,S410,S320
|
2022-05-13 17:42:42 +00:00
|
|
|
max-line-length = 120
|
|
|
|
max-complexity = 30
|
|
|
|
docstring-convention = google
|
|
|
|
rst-roles = class,const,func,meth,mod,ref
|
|
|
|
rst-directives = deprecated
|
|
|
|
|
|
|
|
per-file-ignores =
|
|
|
|
# prefer naming tests descriptively rather than forcing comments
|
|
|
|
tests/*:S101,D103
|
2022-05-23 20:36:23 +00:00
|
|
|
bin/keycloak_test_server.py:B950,D
|
2022-05-20 19:04:50 +00:00
|
|
|
|
|
|
|
# the exclude=./migrations option doesn't seem to work with pre-commit
|
|
|
|
# migrations are autogenerated from "flask db migration" so ignore them
|
|
|
|
migrations/*:D
|
2022-06-01 15:17:25 +00:00
|
|
|
src/spiffworkflow_backend/config/testing.py:S105
|