Skip to content

Commit f2444b1

Browse files
Copilots3rius
andcommitted
Add PLR2004 and B017 to ruff per-file-ignores for tests
Co-authored-by: s3rius <18153319+s3rius@users.noreply.github.com> Agent-Logs-Url: https://github.com/taskiq-python/natsrpy/sessions/87bfdb05-f9a1-4470-8d3a-4d40d90a4871
1 parent b56b027 commit f2444b1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ ignore = [
110110
"SLF001", # Private member accessed
111111
"S311", # Standard pseudo-random generators are not suitable for security/cryptographic purposes
112112
"D101", # Missing docstring in public class
113+
"PLR2004", # Magic value used in comparison
114+
"B017", # Do not assert blind exception
113115
]
114116

115117
[tool.ruff.lint.pydocstyle]

0 commit comments

Comments
 (0)