There was an error while loading. Please reload this page.
Optional[]
Union[]
1 parent 360dee5 commit f1b76faCopy full SHA for f1b76fa
1 file changed
template/.config/ruff.toml
@@ -18,6 +18,8 @@ ignore = [
18
"D100",
19
# Use `Optional[]` typing.
20
"UP045",
21
+ # Use `Union[]` typing (not `|`) to be aligned with `Optional[]`.
22
+ "UP007",
23
]
24
25
[lint.pydocstyle]
0 commit comments