Skip to content

Commit 25592b6

Browse files
authored
Merge pull request #8423 from radarhere/lint
2 parents 86b42a9 + 2e73ffe commit 25592b6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ lint-fix:
117117
python3 -c "import black" > /dev/null 2>&1 || python3 -m pip install black
118118
python3 -m black .
119119
python3 -c "import ruff" > /dev/null 2>&1 || python3 -m pip install ruff
120-
python3 -m ruff --fix .
120+
python3 -m ruff check --fix .
121121

122122
.PHONY: mypy
123123
mypy:

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,13 @@ config-settings = "raqm=enable raqm=vendor fribidi=vendor imagequant=disable"
9797
test-command = "cd {project} && .github/workflows/wheels-test.sh"
9898
test-extras = "tests"
9999

100+
[tool.black]
101+
exclude = "wheels/multibuild"
102+
100103
[tool.ruff]
101-
fix = true
104+
exclude = [ "wheels/multibuild" ]
102105

106+
fix = true
103107
lint.select = [
104108
"C4", # flake8-comprehensions
105109
"E", # pycodestyle errors

0 commit comments

Comments
 (0)