@@ -18,14 +18,14 @@ exclude = ["**/__pycache__"]
1818
1919deprecateTypingAliases = true
2020reportMissingTypeStubs = " none" # a lot of libs don't have stubs
21- reportPrivateUsage = " none" # it's my choice, reeee
21+ reportPrivateUsage = " none" # it's my choice
2222reportImplicitOverride = " warning" # I love it
2323
2424# Unnecessary
2525reportUnnecessaryIsInstance = " none" # I like "else" raising the error if type is somehow not it
2626reportUnnecessaryTypeIgnoreComment = " warning" # why it's "none" by default, even for strict ?!
2727
28- # Unused stuff - yes, I write a lot of unused stuff **GIGACHAD music**
28+ # Unused stuff - yes, I write a lot of unused stuff
2929reportUnusedImport = " warning"
3030reportUnusedVariable = " none"
3131reportUnusedClass = " none"
@@ -106,6 +106,7 @@ select = [
106106]
107107ignore = [
108108 " ANN401" , # `Any` is the correct type in some cases
109+ " ASYNC109" , # dpy commonly uses this parameter
109110 " ASYNC116" , # Long sleeps are fine
110111 " C90" , # mc cabe complexity memes
111112 " F401" , # unused imports
@@ -132,10 +133,14 @@ ignore = [
132133 # "UP038",
133134
134135 # DOC STRINGS
136+ # general doc string exceptions
135137 " D100" , # Missing docstring in module: no, module level docs aren't always needed
136138 " D105" , # Missing docstring in magic method: documenting magic methods is often dumb.
137139 " D107" , # Missing docstring in `__init__`: __init__ is the wrong place to doc this.
138- " D401" , # Doc should be starting with an imperative verb: dumb rule tbh.
140+ " D401" , # Doc should be starting with an imperative verb: dumb rule, to be honest.
141+ # doc string exceptions
142+ # for this bot because it's a bot and it's pointless to document *everything* in one-man project.
143+ " DOC201" , # `return` is not documented in docstring
139144
140145 # "D104", # Missing docstring in public package. Otherwise spams __init__.py and such.
141146 # "D417", # Missing argument description. Otherwise, it keeps asking to document interaction/context args.
0 commit comments