Merge pull request #1614 from henryiii/henryiii/chore/minor

chore: minor additions
This commit is contained in:
Joe Rickerby
2023-09-18 17:15:21 +01:00
committed by GitHub
4 changed files with 10 additions and 3 deletions
+6
View File
@@ -0,0 +1,6 @@
* text=auto
*.py diff=python
*.md diff=markdown
*.svg -diff
+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"]