| Index: Tools/Scripts/webkitpy/thirdparty/pylint/examples/pylintrc_camelcase
|
| diff --git a/Tools/Scripts/webkitpy/thirdparty/pylint/examples/pylintrc_camelcase b/Tools/Scripts/webkitpy/thirdparty/pylint/examples/pylintrc_camelcase
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0dd9266f68f5ed257c2ddd1755adf711e5381ee6
|
| --- /dev/null
|
| +++ b/Tools/Scripts/webkitpy/thirdparty/pylint/examples/pylintrc_camelcase
|
| @@ -0,0 +1,24 @@
|
| +# This pylintrc file will use the default settings except for the
|
| +# naming conventions, which will allow for camel case naming as found
|
| +# in Java code or several libraries such as PyQt, etc.
|
| +
|
| +[BASIC]
|
| +# Regular expression which should only match correct module names
|
| +module-rgx=(([a-z][a-z0-9]*)|([A-Z][a-zA-Z0-9]+))$
|
| +
|
| +# Regular expression which should only match correct class names
|
| +class-rgx=[A-Z][a-zA-Z0-9]+$
|
| +
|
| +# Regular expression which should only match correct function names
|
| +function-rgx=[a-z_][a-zA-Z0-9]*$
|
| +
|
| +# Regular expression which should only match correct method names
|
| +method-rgx=[a-z_][a-zA-Z0-9]*$
|
| +
|
| +# Regular expression which should only match correct argument names
|
| +argument-rgx=[a-z][a-zA-Z0-9]*$
|
| +
|
| +# Regular expression which should only match correct variable names
|
| +variable-rgx=[a-z][a-zA-Z0-9]*$
|
| +
|
| +
|
|
|