Skip to content

Commit 825d898

Browse files
authored
Merge pull request #1614 from henryiii/henryiii/chore/minor
chore: minor additions
2 parents adc991c + db6d309 commit 825d898

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

.gitattributes

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
* text=auto
2+
3+
*.py diff=python
4+
*.md diff=markdown
5+
6+
*.svg -diff

cibuildwheel/_compat/tomllib.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import sys
44

55
if sys.version_info >= (3, 11):
6-
from tomllib import load # noqa: TID251
6+
from tomllib import load
77
else:
8-
from tomli import load # noqa: TID251
8+
from tomli import load
99

1010
__all__ = ("load",)

cibuildwheel/_compat/typing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
if sys.version_info < (3, 11):
66
from typing_extensions import NotRequired, assert_never
77
else:
8-
from typing import NotRequired, assert_never # noqa: TID251
8+
from typing import NotRequired, assert_never
99

1010
__all__ = (
1111
"assert_never",

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,4 @@ flake8-unused-arguments.ignore-variadic-names = true
161161

162162
[tool.ruff.per-file-ignores]
163163
"unit_test/*" = ["PLC1901"]
164+
"cibuildwheel/_compat/**.py" = ["TID251"]

0 commit comments

Comments
 (0)