Skip to content

Commit

Permalink
Customize pylintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
moreati authored and LudovicRousseau committed Jun 24, 2015
1 parent 26be547 commit 3feb9b1
Showing 1 changed file with 15 additions and 23 deletions.
38 changes: 15 additions & 23 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ profile=no

# Add files or directories to the blacklist. They should be base names, not
# paths.
ignore=CVS
ignore=CVS,CardNames.py,scard.py

# Pickle collected data for later comparisons.
persistent=yes
Expand All @@ -21,14 +21,6 @@ persistent=yes
# usually to register additional checkers.
load-plugins=

# Deprecated. It was used to include message's id in output. Use --msg-template
# instead.
include-ids=no

# Deprecated. It was used to include symbolic ids of messages in output. Use
# --msg-template instead.
symbols=no

# Use multiple processes to speed up Pylint.
jobs=1

Expand Down Expand Up @@ -218,16 +210,16 @@ name-group=
include-naming-hint=no

# Regular expression matching correct function names
function-rgx=[a-z_][a-z0-9_]{2,30}$
function-rgx=[a-z_][a-zA-Z0-9_]{2,30}$

# Naming hint for function names
function-name-hint=[a-z_][a-z0-9_]{2,30}$
function-name-hint=[a-z_][a-zA-Z0-9_]{2,30}$

# Regular expression matching correct variable names
variable-rgx=[a-z_][a-z0-9_]{2,30}$
variable-rgx=[a-z_][a-zA-Z0-9_]{1,30}$

# Naming hint for variable names
variable-name-hint=[a-z_][a-z0-9_]{2,30}$
variable-name-hint=[a-z_][a-zA-Z0-9_]{1,30}$

# Regular expression matching correct constant names
const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
Expand All @@ -236,22 +228,22 @@ const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
const-name-hint=(([A-Z_][A-Z0-9_]*)|(__.*__))$

# Regular expression matching correct attribute names
attr-rgx=[a-z_][a-z0-9_]{2,30}$
attr-rgx=[A-Za-z_][A-Za-z0-9_]{1,30}$

# Naming hint for attribute names
attr-name-hint=[a-z_][a-z0-9_]{2,30}$
attr-name-hint=[A-Za-z_][A-Za-z0-9_]{1,30}$

# Regular expression matching correct argument names
argument-rgx=[a-z_][a-z0-9_]{2,30}$
argument-rgx=[a-z_][A-Za-z0-9_]{2,30}$

# Naming hint for argument names
argument-name-hint=[a-z_][a-z0-9_]{2,30}$
argument-name-hint=[a-z_][A-Za-z0-9_]{2,30}$

# Regular expression matching correct class attribute names
class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{1,30}|(__.*__))$

# Naming hint for class attribute names
class-attribute-name-hint=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
class-attribute-name-hint=([A-Za-z_][A-Za-z0-9_]{1,30}|(__.*__))$

# Regular expression matching correct inline iteration names
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
Expand All @@ -266,16 +258,16 @@ class-rgx=[A-Z_][a-zA-Z0-9]+$
class-name-hint=[A-Z_][a-zA-Z0-9]+$

# Regular expression matching correct module names
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
module-rgx=([A-Za-z_][A-Za-z0-9_]*)$

# Naming hint for module names
module-name-hint=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
module-name-hint=([A-Za-z_][A-Za-z0-9_]*)$

# Regular expression matching correct method names
method-rgx=[a-z_][a-z0-9_]{2,30}$
method-rgx=[a-z_][A-Za-z0-9_]{2,30}$

# Naming hint for method names
method-name-hint=[a-z_][a-z0-9_]{2,30}$
method-name-hint=[a-z_][A-Za-z0-9_]{2,30}$

# Regular expression which should only match function or class names that do
# not require a docstring.
Expand Down

0 comments on commit 3feb9b1

Please sign in to comment.