mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
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:
@@ -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'):
|
||||
|
@@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user