We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 531f419 commit 259dd75Copy full SHA for 259dd75
.ruff.toml
@@ -27,3 +27,9 @@ target-version = "py38"
27
known-first-party = ["graphql_server"]
28
force-wrap-aliases = true
29
combine-as-imports = true
30
+
31
+[pyupgrade]
32
+# this keeps annotation syntaxes like Union[X, Y] instead of X | Y
33
+# to not break Python 3.8
34
+# https://beta.ruff.rs/docs/settings/#pyupgrade-keep-runtime-typing
35
+keep-runtime-typing = true
0 commit comments