Skip to content

Commit

Permalink
fix ruff -> ruff check
Browse files Browse the repository at this point in the history
  • Loading branch information
salvaRC committed Oct 5, 2024
1 parent 79f3db1 commit 2193252
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ modified_only_fixup:
@if test -n "$(modified_py_files)"; then \
echo "Checking/fixing $(modified_py_files)"; \
black $(modified_py_files); \
ruff $(modified_py_files); \
ruff check $(modified_py_files); \
else \
echo "No library .py files were modified"; \
fi
Expand All @@ -34,15 +34,15 @@ autogenerate_code: deps_table_update

quality:
python3 -m black --check $(check_dirs)
python3 -m ruff $(check_dirs)
python3 -m ruff check $(check_dirs)
# doc-builder style src docs/source --max_len 119 --check_only --path_to_docs docs/source


# this target runs checks on all files and potentially modifies some of them

style:
python3 -m black $(check_dirs)
python3 -m ruff $(check_dirs) --fix
python3 -m ruff check $(check_dirs) --fix
${MAKE} autogenerate_code

# Super fast fix and check target that only works on relevant modified files since the branch was made
Expand Down

0 comments on commit 2193252

Please sign in to comment.