Skip to content

Commit 33ce74e

Browse files
jhaleclaude
andcommitted
Fold clang-format into the lint dependency group
clang-format checks python/dolfinx/wrappers (nanobind C++ bindings), which live under python/, so it belongs alongside ruff and gersemi in the lint group rather than as a separate ad hoc install in CI. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 2348f4e commit 33ce74e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ccpp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
run: cat .github/workflows/fenicsx-refs.env >> $GITHUB_ENV
4141

4242
- name: Install linting tools
43-
run: pip install --group python/pyproject.toml:lint clang-format
43+
run: pip install --group python/pyproject.toml:lint
4444
- name: ruff .py files in C++ code
4545
run: |
4646
cd cpp/

python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ docs = [
7373
"sphinxcontrib-bibtex",
7474
"fenics-dolfinx[demo]",
7575
]
76-
lint = ["ruff", "gersemi"]
76+
lint = ["ruff", "gersemi", "clang-format"]
7777
ci = [
7878
"pytest-xdist",
7979
"mypy",

0 commit comments

Comments
 (0)