Skip to content

Commit 391249a

Browse files
committed
Merge remote-tracking branch 'origin/main' into env-order
2 parents 62a06d2 + 0954ffa commit 391249a

File tree

5 files changed

+17
-6
lines changed

5 files changed

+17
-6
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

.readthedocs.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@
22
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
33
version: 2
44

5-
mkdocs:
6-
configuration: mkdocs.yml
5+
build:
6+
os: ubuntu-22.04
7+
tools:
8+
python: "3.11"
79

810
python:
9-
version: 3.8
1011
install:
1112
- method: pip
1213
path: .
1314
extra_requirements:
1415
- docs
16+
17+
mkdocs:
18+
configuration: mkdocs.yml

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)