Skip to content

Commit 4dba2f1

Browse files
committed
Refactorized format, lint, & codespell rules
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
1 parent c171d76 commit 4dba2f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,13 @@ test-min-with-upgrade: venv-min-upgrade ## Upgrade deps and run unit tests in mi
110110
# ===================================================================
111111

112112
format: ## Format the code
113-
./venv-dev/bin/python -m ruff format .
113+
$(VENV_DEV)/python -m ruff format .
114114

115115
lint: ## Lint the code.
116-
./venv-dev/bin/python -m ruff check . --fix
116+
$(VENV_DEV)/python -m ruff check . --fix
117117

118118
codespell: ## Run codespell to fix common misspellings in text files
119-
./venv-dev/bin/codespell -S .git,./docs/_build,./Glances.egg-info,./venv*,./glances/outputs,*.svg -L hart,bu,te,statics -w
119+
$(VENV_DEV)/codespell -S .git,./docs/_build,./Glances.egg-info,./venv*,./glances/outputs,*.svg -L hart,bu,te,statics -w
120120

121121
semgrep: ## Run semgrep to find bugs and enforce code standards
122122
./venv-dev/bin/semgrep scan --config=auto

0 commit comments

Comments
 (0)