Variables can be None; update comment

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
Hugo van Kemenade 2024-03-27 09:16:31 +02:00 committed by GitHub
parent eff78cb514
commit 98c7d90af6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -117,7 +117,7 @@ ignore = [
"E221", # Multiple spaces before operator
"E226", # Missing whitespace around arithmetic operator
"E241", # Multiple spaces after ','
"PYI034", # flake8-pyi: typing.Self added in Python 3.10
"PYI034", # flake8-pyi: typing.Self added in Python 3.11
]
[tool.ruff.lint.per-file-ignores]

View File

@ -22,11 +22,11 @@ from typing import NamedTuple
class _TagInfo(NamedTuple):
value: int
value: int | None
name: str
type: int
length: int
enum: dict[int, str]
type: int | None
length: int | None
enum: dict[int, str] | None
class TagInfo(_TagInfo):