forked from ArduPilot/ardupilot
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (94 loc) · 1.84 KB
/
pyproject.toml
File metadata and controls
98 lines (94 loc) · 1.84 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[tool.ruff]
target-version = "py310"
line-length = 127
lint.select = [
"BLE001", # flake8-blind-except
"E", # pycodestyle
"F", # Pyflakes
]
lint.ignore = [
"E402", # module-import-not-at-top-of-file
]
lint.extend-select = [
"I", # isort
"TID", # flake8-tidy-imports
]
lint.flake8-tidy-imports.ban-relative-imports = "all"
lint.per-file-ignores."Tools/autotest/autotest.py" = ["I001"] # unsorted-imports
[tool.ruff.lint.isort]
force-single-line = true
lines-between-types = 1
known-first-party = [
"annotate_params",
"antennatracker",
"arducopter",
"balancebot",
"blimp",
"board_list",
"build_binaries_history",
"build_script_base",
"controller",
"dma_resolver",
"emit",
"emit_md",
"examples",
"extract_param_defaults",
"gen_stable",
"generate_manifest",
"hal_common",
"helicopter",
"jsonemit",
"mdemit",
"param",
"param_check",
"pysim",
"quadplane",
"rover",
"sailboat",
"vehicle_test_suite",
"waflib",
]
[tool.isort]
profile = "black"
skip = ["./modules/", "./build/"]
force_single_line = true
lines_between_types = 1
known_first_party = [
"annotate_params",
"antennatracker",
"arducopter",
"blimp",
"board_list",
"build_binaries_history",
"build_script_base",
"controller",
"dma_resolver",
"emit",
"emit_md",
"extract_param_defaults",
"gen_stable",
"generate_manifest",
"hal_common",
"helicopter",
"jsonemit",
"mdemit",
"param",
"param_check",
"pysim",
"quadplane",
"rover",
"sailboat",
"vehicle_test_suite",
"waflib",
]
[tool.black]
line-length = 120
skip-string-normalization = true
[tool.mypy]
ignore_missing_imports = true
exclude = [
'modules/',
'build/',
'cmake-build-debug/',
'/setup\.py$'
]