mirrored from https://gitlab.com/project-march/march
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.flake8
52 lines (47 loc) · 1.46 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
[flake8]
# We use a longer line length of 120, rather than using the flake8 default of 79:
max-line-length = 120
show-source = false
min-coverage-percents = 0
docstring-convention=google
exclude =
.git,
__init__.py,
build,
install,
log,
libraries,
.venv_march,
.scripts,
test
acados
enable-extensions =
B901,
B902,
B903,
B950
ignore =
# See https://github.com/PyCQA/pycodestyle/issues/373
E203,
# This gives errors if the lines are too long, but we use the black formatter which has different settings
E501,
# This warning conflicts with the black formatter
W503,
C812,
C815,
C816
PIE803, # This is not relevant for the rclpy logger
RST201,
RST206,
SIM106, # Gives a lot of false positives
VNE001, # Not really necessary
D107, # Requires docstring to be init, but we document it at class level.
T002, # We don't need an author after TODO tags.
T003, # We don't need a link to an issue after TODO tags.
BLK100 # Gives unclear error msgs, where everything looks good.
SIM115
# The following are ignored due to missing docstring in old code.
per-file-ignores =
ros2/*/setup.py:D100,
ros2/src/visualization/march_rqt_gait_version_tool/march_rqt_gait_version_tool/gait_version_tool_errors.py:D,
ros2/src/visualization/march_rqt_gait_version_tool/march_rqt_gait_version_tool/parametric_same_versions_pop_up.py:D,