Enable 11 more categories in Ruff

* flake8-builtins ('A')
* flake8-blind-except ('BLE')
* flake8-copyright ('CPY')
* eradicate ('ERA')
* flake8-boolean-trap ('FBT')
* flake8-fixme ('FIX')
* flake8-implicit-str-concat ('ISC')
* pep8-naming ('N')
* flake8-use-pathlib ('PTH')
* flake8-self ('SLF')
* tryceratops ('TRY')
This commit is contained in:
Adam Turner
2025-01-14 14:43:02 +00:00
parent 3521cb60cf
commit c66d3e85d1
45 changed files with 154 additions and 106 deletions

View File

@@ -260,7 +260,7 @@ def test_format_signature(app):
def foo1(self, b, *c):
pass
def foo2(b, *c):
def foo2(b, *c): # NoQA: N805
pass
def foo3(self, d='\n'):

View File

@@ -33,12 +33,12 @@ def _private_undoc():
pass
def __special_doc__():
def __special_doc__(): # NoQA: N807
"""module.__special_doc__.DOCSTRING"""
pass
def __special_undoc__():
def __special_undoc__(): # NoQA: N807
pass