mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
server/general: improve pylint score
+ incorporate some in-house rules - no more useless doc strings...
This commit is contained in:
14
server/.pylintrc
Normal file
14
server/.pylintrc
Normal file
@ -0,0 +1,14 @@
|
||||
[basic]
|
||||
method-rgx=[a-z_][a-z0-9_]{2,30}$|^test_
|
||||
|
||||
[variables]
|
||||
dummy-variables-rgx=_|dummy
|
||||
|
||||
[format]
|
||||
max-line-length=90
|
||||
|
||||
[messages control]
|
||||
disable=missing-docstring,no-self-use,too-few-public-methods
|
||||
|
||||
[typecheck]
|
||||
generated-members=add|add_all
|
Reference in New Issue
Block a user