Skip to content

Commit b25a450

Browse files
authored
Merge pull request #414 from davidhewitt/ruff-0.3
ci: fixups for ruff 0.3
2 parents d2f3b3a + 7d02395 commit b25a450

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Changelog = "https://github.com/PyO3/setuptools-rust/blob/main/CHANGELOG.md"
4949
requires = ["setuptools>=62.4", "setuptools_scm"]
5050
build-backend = "setuptools.build_meta"
5151

52-
[tool.ruff.extend-per-file-ignores]
52+
[tool.ruff.lint.extend-per-file-ignores]
5353
"__init__.py" = ["F403"]
5454

5555
[tool.pytest.ini_options]

setuptools_rust/command.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,4 @@ def run(self) -> None:
107107
print(str(e))
108108

109109
@abstractmethod
110-
def run_for_extension(self, extension: RustExtension) -> None:
111-
...
110+
def run_for_extension(self, extension: RustExtension) -> None: ...

0 commit comments

Comments
 (0)