mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 03:04:37 +01:00
Allow longer method names
Older versions of Pylint (<2.1.0) limited the names of various things to 30 characters. We allowed up to 35 characters for method name due to pre-existing identifiers. Modern versions of Pylint no longer have an upper limit. Let's not be pickier than Pylint's default configuration. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
0655b4f1e0
commit
8c8325bba9
@ -15,9 +15,9 @@ bad-functions=input
|
|||||||
# [missing-docstring]
|
# [missing-docstring]
|
||||||
docstring-min-length=10
|
docstring-min-length=10
|
||||||
|
|
||||||
# Allow longer methods than the default.
|
# No upper limit on method names. Pylint <2.1.0 has an upper limit of 30.
|
||||||
# [invalid-name]
|
# [invalid-name]
|
||||||
method-rgx=[a-z_][a-z0-9_]{2,35}$
|
method-rgx=[a-z_][a-z0-9_]{2,}$
|
||||||
|
|
||||||
# Allow module names containing a dash (but no underscore or uppercase letter).
|
# Allow module names containing a dash (but no underscore or uppercase letter).
|
||||||
# They are whole programs, not meant to be included by another module.
|
# They are whole programs, not meant to be included by another module.
|
||||||
|
Loading…
Reference in New Issue
Block a user