diff options
author | nicolargo <nicolas@nicolargo.com> | 2023-05-01 10:12:09 +0200 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2023-05-01 10:12:09 +0200 |
commit | f4873cef08c8cc03664ace2be63fb42dbfc17c8d (patch) | |
tree | ee3265b0431d519576786af40d168ef557375fc1 /Makefile | |
parent | 4caa267eec42713a5da0830ca27f14e9f9467300 (diff) |
Improve Lint
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -61,6 +61,9 @@ format: venv-dev-upgrade ## Format the code flake8: venv-dev-upgrade ## Run flake8 linter. @git ls-files '*.py' | xargs ./venv/bin/python -m flake8 --config=.flake8 +ruff: venv-dev-upgrade ## Run Ruff (fastest) linter. + ./venv/bin/python -m ruff check . --config=./pyproject.toml + codespell: venv-dev-upgrade ## Run codespell to fix common misspellings in text files ./venv/bin/codespell -S .git,./docs/_build,./Glances.egg-info,./venv,./glances/outputs,*.svg -L hart,bu,te,statics |