chore: update Makefile with ruff commands

This commit is contained in:
Saurav Maheshkar
2023-02-28 10:46:07 +00:00
parent 7820a539dd
commit 94f00b7d27
+2 -3
View File
@@ -7,13 +7,12 @@ check_dirs := src tests examples
# this target runs checks on all files
quality:
black --check $(check_dirs)
isort --check-only $(check_dirs)
flake8 $(check_dirs)
ruff $(check_dirs)
doc-builder style src tests --max_len 119 --check_only
# Format source code automatically and check is there are any problems left that need manual fixing
style:
black $(check_dirs)
isort $(check_dirs)
ruff $(check_dirs) --fix
doc-builder style src tests --max_len 119