Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2080)

Unified Diff: Tools/Scripts/webkitpy/thirdparty/pylint/examples/pylintrc_camelcase

Issue 18418010: Check in the thirdparty libs needed for webkitpy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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]*$
+
+
« no previous file with comments | « Tools/Scripts/webkitpy/thirdparty/pylint/examples/pylintrc ('k') | Tools/Scripts/webkitpy/thirdparty/pylint/gui.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698