Skip to content

Commit 3ddad55

Browse files
committed
Ignore RUF043 and RUF059
1 parent 44e46d3 commit 3ddad55

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,13 @@ ignore = [
100100
"RUF015",
101101
# Use `X | Y` in `isinstance` (see https://github.com/home-assistant/core/issues/123850)
102102
"UP038",
103+
# Pattern passed to `match=` contains metacharacters but is neither escaped nor raw
104+
"RUF043",
103105
"RUF046", # Value being cast to `int` is already an integer
104106

107+
# TODO: Move this ignore so that it only applies in the tests folder. Do in conjunction with any doc related rules
108+
"RUF059", # Unpacked variable `coords` is never used
109+
105110
# TODO: ignore for now (requires more work). Remove ignore once fixed
106111
# Missing docstring in public module
107112
"D100",

0 commit comments

Comments
 (0)