Skip to content

Commit

Permalink
🚨🩹 fix the ruff banned-api configuration (#637)
Browse files Browse the repository at this point in the history
## Description

This PR fixes a small mistake in the ruff configuration for the
`banned-api` check.

## Checklist:

<!---
This checklist serves as a reminder of a couple of things that ensure
your pull request will be merged swiftly.
-->

- [x] The pull request only contains commits that are related to it.
- [x] I have added appropriate tests and documentation.
- [x] I have made sure that all CI jobs on GitHub pass.
- [x] The pull request introduces no new warnings and follows the
project's style guidelines.
  • Loading branch information
burgholzer authored Jun 27, 2024
1 parent a18e29c commit 527e76a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -232,11 +232,9 @@ isort.required-imports = ["from __future__ import annotations"]
"typing.Mapping".msg = "Use collections.abc.Mapping instead."
"typing.Sequence".msg = "Use collections.abc.Sequence instead."
"typing.Set".msg = "Use collections.abc.Set instead."
"typing.Self".msg = "Use scikit_build_core._compat.typing.Self instead."
"typing_extensions.Self".msg = "Use scikit_build_core._compat.typing.Self instead."
"typing.assert_never".msg = "Use scikit_build_core._compat.typing.assert_never instead."
"importlib.resources".msg = "Use scikit_build_core._compat.importlib.resources instead."
"importlib_resources".msg = "Use scikit_build_core._compat.importlib.resources instead."
"typing.Self".msg = "Use mqt.core._compat.typing.Self instead."
"typing_extensions.Self".msg = "Use mqt.core._compat.typing.Self instead."
"typing.assert_never".msg = "Use mqt.core._compat.typing.assert_never instead."

[tool.ruff.lint.per-file-ignores]
"test/python/**" = ["T20", "ANN"]
Expand Down

0 comments on commit 527e76a

Please sign in to comment.