Skip to content

Commit 1378c03

Browse files
cclausspeterbarker
authored andcommitted
pyproject.toml: keep Python imports sorted
1 parent 02debf7 commit 1378c03

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ target-version = "py310"
33
lint.ignore = [
44
"E402", # module-import-not-at-top-of-file
55
]
6+
lint.extend-select = [
7+
"I", # isort
8+
]
9+
lint.per-file-ignores."Tools/autotest/autotest.py" = ["I001"] # unsorted-imports
610

711
[tool.ruff.lint.isort]
812
force-single-line = true
@@ -11,6 +15,7 @@ known-first-party = [
1115
"annotate_params",
1216
"antennatracker",
1317
"arducopter",
18+
"balancebot",
1419
"blimp",
1520
"board_list",
1621
"build_binaries_history",
@@ -19,6 +24,7 @@ known-first-party = [
1924
"dma_resolver",
2025
"emit",
2126
"emit_md",
27+
"examples",
2228
"extract_param_defaults",
2329
"gen_stable",
2430
"generate_manifest",

0 commit comments

Comments
 (0)