diff --git a/template/.config/ruff.toml b/template/.config/ruff.toml index dbc7947..a52a78d 100644 --- a/template/.config/ruff.toml +++ b/template/.config/ruff.toml @@ -18,6 +18,8 @@ ignore = [ "D100", # Use `Optional[]` typing. "UP045", + # Use `Union[]` typing (not `|`) to be aligned with `Optional[]`. + "UP007", ] [lint.pydocstyle]