Skip to content

Commit

Permalink
Placate ruff about a few things
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Nov 24, 2024
1 parent a733565 commit 12319f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gen_wrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def __repr__(self):
SUBCLASS_RE = re.compile(
r"__isl_subclass\s*"
r"\(\s*"
"[0-9a-zA-Z_]+"
f"[0-9a-zA-Z_]+"
r"\s*\)")


Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[project]
name = "islpy"
requires-python = ">=3.8"

[build-system]
requires = [
# setuptools >= 64 breaks editable builds:
Expand Down Expand Up @@ -26,6 +30,7 @@ exclude = [
"aksetup_helper.py"
]


[tool.ruff.lint]
extend-select = [
"B", # flake8-bugbear
Expand Down

0 comments on commit 12319f1

Please sign in to comment.