-
Notifications
You must be signed in to change notification settings - Fork 955
Expand file tree
/
Copy path.flake8
More file actions
34 lines (29 loc) · 1.44 KB
/
Copy path.flake8
File metadata and controls
34 lines (29 loc) · 1.44 KB
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
[flake8]
root = ./freemocap
exclude =
./freemocap/core_processes/export_data/blender_stuff/export_to_blender/methods/legacy/*
./freemocap/core_processes/capture_volume_calibration/anipose_camera_calibration/anipose_camera_calibrator.py
./freemocap/core_processes/capture_volume_calibration/anipose_camera_calibration/freemocap_anipose.py
./experimental
./freemocap/tests
./.nox
./.venv
./venv
per-file-ignores =
./freemocap/core_processes/process_motion_capture_videos/process_recording_folder.py:C901
./freemocap/core_processes/export_data/blender_stuff/export_to_blender/methods/ajc_addon/run_ajc_addon_main.py:C901
./freemocap/gui/qt/widgets/control_panel/calibration_control_panel.py:C901
./experimental/batch_process/batch_process.py:E226
# C901: function is too complex
# E226: missing whitespace around arithmetic operator (file slashes misread as arithmetic)
max-line-length = 88
extend-ignore = W503, E501, E402, S404, S603, S607, S101
# W503: Linebreak before binary operator
# E501: Line too long
# E402: Modulo level import not at top of file
# S101: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
# S404: Consider possible security implications associated with the subprocess module.
# S603: S603 subprocess call - check for execution of untrusted input.
# S607 Starting a process with a partial executable path
select = B,C,E,F,S,W
max-complexity = 10