Skip to content

Commit d9e335d

Browse files
Copilotmdboom
andcommitted
Enable modern typing linting rules after modernization
Co-authored-by: mdboom <38294+mdboom@users.noreply.github.com>
1 parent cf0fe91 commit d9e335d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

cuda_core/pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,9 @@ select = [
9797
]
9898

9999
ignore = [
100-
"UP006",
101-
"UP007",
100+
"UP007", # Use X | Y for union types (requires Python 3.10+, we support 3.9+)
102101
"E741", # ambiguous variable name such as I
103102
"B007", # rename unsued loop variable to _name
104-
"UP035" # UP006, UP007, UP035 complain about deprecated Typing.<type> use, but disregard backward compatibility of python version
105103
]
106104

107105
exclude = ["cuda/core/_version.py"]

0 commit comments

Comments
 (0)