Skip to content

Commit

Permalink
Merge pull request #414 from davidhewitt/ruff-0.3
Browse files Browse the repository at this point in the history
ci: fixups for ruff 0.3
  • Loading branch information
davidhewitt committed Mar 6, 2024
2 parents d2f3b3a + 7d02395 commit b25a450
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Changelog = "https://github.com/PyO3/setuptools-rust/blob/main/CHANGELOG.md"
requires = ["setuptools>=62.4", "setuptools_scm"]
build-backend = "setuptools.build_meta"

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

[tool.pytest.ini_options]
Expand Down
3 changes: 1 addition & 2 deletions setuptools_rust/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,4 @@ def run(self) -> None:
print(str(e))

@abstractmethod
def run_for_extension(self, extension: RustExtension) -> None:
...
def run_for_extension(self, extension: RustExtension) -> None: ...

0 comments on commit b25a450

Please sign in to comment.