Skip to content

Commit 6b4f38b

Browse files
committed
Add format check to lint step
Signed-off-by: Tim Paine <[email protected]>
1 parent 063b137 commit 6b4f38b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ install: ## install library
3838
lint-py:
3939
python -m isort --check csp/ examples/ setup.py
4040
python -m ruff check csp/ examples/ setup.py
41+
python -m ruff format --check csp/ examples/ setup.py
4142

4243
lint-cpp:
4344
# clang-format --dry-run -Werror -i -style=file `find ./cpp/ -name "*.*pp"`
@@ -191,9 +192,6 @@ dependencies-debian: ## install dependencies for linux
191192
dependencies-fedora: ## install dependencies for linux
192193
yum install -y automake bison ccache cmake curl flex perl-IPC-Cmd tar unzip zip
193194

194-
dependencies-alma: ## install dependencies for linux
195-
dnf install -y automake bison ccache cmake curl flex perl-IPC-Cmd tar unzip zip
196-
197195
dependencies-vcpkg: ## install dependnecies via vcpkg
198196
cd vcpkg && ./bootstrap-vcpkg.sh && ./vcpkg install
199197

docs/wiki/dev-guides/Build-CSP-from-Source.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ make lint-py
227227
# or
228228
# python -m isort --check csp/ setup.py
229229
# python -m ruff check csp/ setup.py
230+
# python -m ruff format --check csp/ setup.py
230231
```
231232

232233
**Python Autoformatting**

0 commit comments

Comments
 (0)