We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa67839 commit 03d45c0Copy full SHA for 03d45c0
2 files changed
.pre-commit-config.yaml
@@ -20,6 +20,13 @@ repos:
20
files: \.(cmake|CMakeLists\.txt)$
21
exclude: ^(3rdparty/|build.*/|install/)
22
23
+ # Python import sorting
24
+ - repo: https://github.com/pycqa/isort
25
+ rev: 5.13.2
26
+ hooks:
27
+ - id: isort
28
+ args: [--settings-path, setup.cfg]
29
+
30
# Ruff Python linter
31
- repo: https://github.com/charliermarsh/ruff-pre-commit
32
rev: v0.14.9
setup.cfg
@@ -4,3 +4,8 @@ exclude =
4
3rdparty
5
venv
6
.git
7
8
+[tool:isort]
9
+skip =
10
+ venv
11
+multi_line_output = 3
0 commit comments