diff --git a/.pylintrc b/.pylintrc index 242f3c7..01e9428 100644 --- a/.pylintrc +++ b/.pylintrc @@ -133,7 +133,7 @@ module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$ const-rgx=(([A-Za-z_][A-Za-z0-9_]*)|(__.*__))$ # Regular expression which should only match correct class names -class-rgx=[a-zA-Z_][a-zA-Z0-9]+$ +class-rgx=[a-zA-Z_][a-zA-Z0-9_]+$ # Regular expression which should only match correct function names function-rgx=[a-z_][a-z0-9_]{2,30}$ @@ -200,7 +200,7 @@ max-args=20 ignored-argument-names=_.* # Maximum number of locals for function / method body -max-locals=15 +max-locals=30 # Maximum number of return / yield for function / method body max-returns=6 diff --git a/demo/moulinrouge/__init__.py b/demo/moulinrouge/__init__.py index 3e4a8e3..e6b1e39 100644 --- a/demo/moulinrouge/__init__.py +++ b/demo/moulinrouge/__init__.py @@ -103,7 +103,8 @@ def create_app(): @app.route("/all") @app.route("/all/style=