forked from ICB-DCM/pyPESTO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
41 lines (37 loc) · 978 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
########################
# Flake8 Configuration #
########################
[flake8]
extend-ignore =
# White space before :
E203
# Don't be crazy if line too long
E501
# Missing docstring in public module
D100
# Missing docstring in public method
# D102
# Missing docstring in magic method
D105
# Missing docstring in __init__
D107
# Empty method in abstract base class
B027
# Using f"{foo!r}" instead of f"'{foo}'" (only until April 2023)
B028
# No blank lines allowed after function docstring. (Clashing with black)
D202
per-file-ignores =
# Imported but unused
*/__init__.py:F401,D400,D205
# Print and asserts
test/*:T201,S101,D
# Ignore errors in module docstring
pypesto/logging.py:D400,D205,D107
pypesto/problem.py:D400,D205,D107
pypesto/util.py:D400,D205,D107
pypesto/C.py:D400,D205,D107
# Module level import not at top of file
test/julia/test_pyjulia.py:E402
exclude =
amici_models