~ubuntu-branches/ubuntu/trusty/pylint/trusty

« back to all changes in this revision

Viewing changes to examples/pylintrc_camelcase

  • Committer: Bazaar Package Importer
  • Author(s): Sylvain Thénault
  • Date: 2006-09-25 16:46:40 UTC
  • mfrom: (1.2.1 upstream) (2.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20060925164640-obkb6g34gqtyk20n
new uptream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This pylintrc file will use the default settings except for the
 
2
# naming conventions, which will allow for camel case naming as found
 
3
# in Java code or several libraries such as PyQt, etc.
 
4
 
 
5
[BASIC]
 
6
# Regular expression which should only match correct module names
 
7
module-rgx=(([a-z][a-z0-9]*)|([A-Z][a-zA-Z0-9]+))$
 
8
 
 
9
# Regular expression which should only match correct class names
 
10
class-rgx=[A-Z][a-zA-Z0-9]+$
 
11
 
 
12
# Regular expression which should only match correct function names
 
13
function-rgx=[a-z_][a-zA-Z0-9]*$
 
14
 
 
15
# Regular expression which should only match correct method names
 
16
method-rgx=[a-z_][a-zA-Z0-9]*$
 
17
 
 
18
# Regular expression which should only match correct argument names
 
19
argument-rgx=[a-z][a-zA-Z0-9]*$
 
20
 
 
21
# Regular expression which should only match correct variable names
 
22
variable-rgx=[a-z][a-zA-Z0-9]*$
 
23
 
 
24