Skip to content

Commit f3fe89b

Browse files
committed
Update lint rules
1 parent b830c6f commit f3fe89b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

ruff.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,15 @@ select = [
5454
"FLY",
5555
# Simplify and update syntax to our target Python version
5656
"UP",
57-
"D"
57+
"D",
58+
# Check for invalid assignments to os.environ
59+
"B003",
60+
# Check for shallow copies of os.environ
61+
"PLW1507",
62+
# Check for invalid types for environment variables
63+
"PLW1508"
5864
]
5965
ignore = [
60-
# Requiring a type for self is deprecated
61-
"ANN101",
6266
# Ignore starting with 'This'
6367
"D404",
6468
# Ignore imperative mood

0 commit comments

Comments
 (0)