Skip to content

Commit

Permalink
Merge pull request #8423 from radarhere/lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Sep 28, 2024
2 parents 86b42a9 + 2e73ffe commit 25592b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ lint-fix:
python3 -c "import black" > /dev/null 2>&1 || python3 -m pip install black
python3 -m black .
python3 -c "import ruff" > /dev/null 2>&1 || python3 -m pip install ruff
python3 -m ruff --fix .
python3 -m ruff check --fix .

.PHONY: mypy
mypy:
Expand Down
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,13 @@ config-settings = "raqm=enable raqm=vendor fribidi=vendor imagequant=disable"
test-command = "cd {project} && .github/workflows/wheels-test.sh"
test-extras = "tests"

[tool.black]
exclude = "wheels/multibuild"

[tool.ruff]
fix = true
exclude = [ "wheels/multibuild" ]

fix = true
lint.select = [
"C4", # flake8-comprehensions
"E", # pycodestyle errors
Expand Down

0 comments on commit 25592b6

Please sign in to comment.