Skip to content

Commit 78bd56a

Browse files
committed
two more rules
1 parent 7794952 commit 78bd56a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,14 @@ ignore = [
5454
"G002", # erroneous issue with %-logging when logging can be confiured for % logging
5555
"ISC001", # ruff format suggested
5656
"PLC0105", # no, I don't like co naming style for typevars
57+
"PLC0415", # ruff gets this wrong, import needs to be not at top of file in some cases
5758
"PLR0912", # too many branches
5859
"PLR0913", # number of function arguments
5960
"PLR0915", # too many statements.... in an async entrypoint handling graceful shutdown...
6061
"PLR0917", # too many positional arguments
6162
"PLR2004", # Magic value comparison, may remove later
6263
"RUF001", # ambiguous characters not something I want to enforce here.
64+
"RUF029", # no, don't try andd tell me I'm wrong for async def when something is for an interface.
6365
"S101", # use of assert here is a known quantity, blame typing memes
6466
"S311", # Yes, I know that standard pseudo-random generators are not suitable for cryptographic purposes
6567
"SIM105", # supressable exception, I'm not paying the overhead of contextlib.supress for stylistic choices.

0 commit comments

Comments
 (0)