@@ -69,32 +69,34 @@ select = ["A", "ARG", "B", "C4", "DOC", "DTZ", "E", "EM", "ERA", "EXE", "F", "FA
6969# Never enforce `E501` (line length violations).
7070ignore = [
7171 # TODO: Fix unused function argument: `debug`, `kwargs`, and `method` in class Client
72- ' ARG001' , # ARG001 Unused function argument: `debug`, `kwargs`, and `method` in class Client
72+ " ARG001" , # ARG001 Unused function argument: `debug`, `kwargs`, and `method` in class Client
7373 # TODO: Fix A001 Variable `TimeoutError` is shadowing a Python builtin
74- ' A001' ,
74+ " A001" ,
7575 # TODO: Fix A002 Argument `id` is shadowing a Python builtin
76- ' A002' ,
76+ " A002" ,
77+ " B904" , # Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None`
7778 # pycodestyle (E, W)
78- ' E501' ,
79- ' INP001' , # INP001 File `samples/campaign_sample.py` is part of an implicit namespace package. Add an `__init__.py`.
80- ' PD901' ,
81- ' PD015' ,
79+ " E501" ,
80+ " INP001" , # INP001 File `samples/campaign_sample.py` is part of an implicit namespace package. Add an `__init__.py`.
81+ " PD901" ,
82+ " PD015" ,
8283 # pep8-naming (N)
83- ' N802' ,
84- ' N806' ,
84+ " N802" ,
85+ " N806" ,
8586 # TODO: PLE0604 Invalid object in `__all__`, must contain only strings
86- ' PLE0604' ,
87- ' PLR2004' , # PLR2004 Magic value used in comparison, consider replacing `XXX` with a constant variable
88- ' PLR0913' , # PLR0913 Too many arguments in function definition (6 > 5)
89- ' PLR0917' , # PLR0917 Too many positional arguments
87+ " PLE0604" ,
88+ " PLR2004" , # PLR2004 Magic value used in comparison, consider replacing `XXX` with a constant variable
89+ " PLR0913" , # PLR0913 Too many arguments in function definition (6 > 5)
90+ " PLR0917" , # PLR0917 Too many positional arguments
91+ # TODO: "Remove Q000 it before the next release
92+ " Q000" ,
9093 " Q003" , # Checks for avoidable escaped quotes ("\"" -> '"')
91- # RET504 Unnecessary assignment to `response` before `return` statement
92- ' RET504' ,
93- ' RUF012' ,
94- # TODO: PT009 Use a regular `assert` instead of unittest-style `assertTrue`
95- ' PT009' ,
96- # pyupgrade (UP): Skip for logging: UP031 Use format specifiers instead of percent format
97- ' UP031'
94+ " RET504" , # RET504 Unnecessary assignment to `response` before `return` statement
95+ " RUF012" ,
96+ # TODO:" PT009 Use a regular `assert` instead of unittest-style `assertTrue`
97+ " PT009" ,
98+ " S311" , # S311 Standard pseudo-random generators are not suitable for cryptographic purposes
99+ " UP031" , # pyupgrade (UP): Skip for logging: UP031 Use format specifiers instead of percent format
98100]
99101
100102
0 commit comments