Commit 619fb4ed authored by Vincent Pelletier's avatar Vincent Pelletier

Make pyling accept all-lowercase, underscore-separated function & method names.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@929 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 0690069b
......@@ -19,8 +19,8 @@ max-public-methods=100
# Inspired by Debian's /usr/share/doc/pylint/examples/pylintrc_camelcase
module-rgx=(([a-z][a-z0-9]*)|([A-Z][a-zA-Z0-9]+))$
class-rgx=[A-Z][a-zA-Z0-9]+$
function-rgx=[a-z_][a-zA-Z0-9]*$
method-rgx=(([a-z_][a-zA-Z0-9]*)|(__[a-z]*__))$
function-rgx=[a-z_](([a-zA-Z0-9]*)|([a-z0-9_]*))$
method-rgx=(([a-z_](([a-zA-Z0-9]*)|([a-z0-9_]*)))|(__[a-z]*__))$
argument-rgx=[a-z][a-z0-9_]*$
variable-rgx=[a-z][a-z0-9_]*$
attr-rgx=[a-z_][a-z0-9_]*$
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment