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 7601917 commit 765a384Copy full SHA for 765a384
circuitpython_typing/displayio.py
@@ -17,4 +17,4 @@
17
from epaperdisplay import EPaperDisplay
18
from framebufferio import FramebufferDisplay
19
20
-AnyDisplay: TypeAlias = Union[BusDisplay | EPaperDisplay | FramebufferDisplay]
+AnyDisplay: TypeAlias = Union[BusDisplay, EPaperDisplay, FramebufferDisplay]
ruff.toml
@@ -89,10 +89,7 @@ ignore = [
89
"PLR2004", # magic-value-comparison
90
"UP030", # format literals
91
"PLW1514", # unspecified-encoding
92
- "PLR0912", # too-many-branches
93
"PLR0913", # too-many-arguments
94
- "PLR0914", # too-many-locals
95
- "PLR0915", # too-many-statements
96
"PLR0917", # too-many-positional-arguments
97
98
]
0 commit comments