chore: Fix UP006 (#7633)

Honnix 9 months ago committed by GitHub
parent 40e1bbe464
commit ea978c685a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -39,7 +39,7 @@ from ._version import __version__
HERE = Path(__file__).parent.resolve()
Flags = t.Dict[t.Union[str, t.Tuple[str, ...]], t.Tuple[t.Union[t.Dict[str, t.Any], Config], str]]
Flags = dict[t.Union[str, tuple[str, ...]], tuple[t.Union[dict[str, t.Any], Config], str]]
app_dir = Path(get_app_dir())
version = __version__

@ -267,7 +267,6 @@ ignore = [
"PLR", # Design related pylint codes
"C408", "C416", # Unnecessary `dict` call (rewrite as a literal)
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
"UP006", # non-pep585-annotation
]
[tool.ruff.lint.per-file-ignores]

Loading…
Cancel
Save