Merge remote-tracking branch 'origin/main' into env-order

This commit is contained in:
Joe Rickerby
2023-09-18 17:39:08 +01:00
5 changed files with 17 additions and 6 deletions
+6
View File
@@ -0,0 +1,6 @@
* text=auto
*.py diff=python
*.md diff=markdown
*.svg -diff
+7 -3
View File
@@ -2,13 +2,17 @@
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
mkdocs:
configuration: mkdocs.yml
build:
os: ubuntu-22.04
tools:
python: "3.11"
python:
version: 3.8
install:
- method: pip
path: .
extra_requirements:
- docs
mkdocs:
configuration: mkdocs.yml
+2 -2
View File
@@ -3,8 +3,8 @@ from __future__ import annotations
import sys
if sys.version_info >= (3, 11):
from tomllib import load # noqa: TID251
from tomllib import load
else:
from tomli import load # noqa: TID251
from tomli import load
__all__ = ("load",)
+1 -1
View File
@@ -5,7 +5,7 @@ import sys
if sys.version_info < (3, 11):
from typing_extensions import NotRequired, assert_never
else:
from typing import NotRequired, assert_never # noqa: TID251
from typing import NotRequired, assert_never
__all__ = (
"assert_never",
+1
View File
@@ -161,3 +161,4 @@ flake8-unused-arguments.ignore-variadic-names = true
[tool.ruff.per-file-ignores]
"unit_test/*" = ["PLC1901"]
"cibuildwheel/_compat/**.py" = ["TID251"]