forked from ComPWA/qrules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
55 lines (55 loc) · 1.06 KB
/
.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[flake8]
application-import-names =
qrules
filename =
./docs/*.py
./src/*.py
./tests/*.py
exclude =
**/__pycache__
**/_build
/typings/**
ignore =
# False positive with attribute docstrings
B018
# https://github.com/psf/black#slices
E203
# allowed by black
E231
# https://github.com/psf/black#line-length
E501
# should be possible to use {} in latex strings
FS003
# block quote ends without a blank line (black formatting)
RST201
# missing pygments
RST299
# unexpected indentation (related to google style docstring)
RST301
# enforce type ignore with mypy error codes (combined --extend-select=TI100)
TI1
# https://github.com/psf/black#line-breaks--binary-operators
W503
extend-select =
TI100
per-file-ignores =
# casts with generics
src/qrules/topology.py:E731
rst-roles =
attr
cite
class
doc
download
file
func
meth
mod
ref
rst-directives =
autolink-preface
automethod
deprecated
envvar
exception
seealso