Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
INFO: Remove Jan from committers
[csit.git]
/
pylint.cfg
diff --git
a/pylint.cfg
b/pylint.cfg
index
3762258
..
82b3a06
100644
(file)
--- a/
pylint.cfg
+++ b/
pylint.cfg
@@
-12,7
+12,7
@@
profile=no
# Add files or directories to the blacklist. They should be base names, not
# paths.
# Add files or directories to the blacklist. They should be base names, not
# paths.
-ignore=CVS
+ignore=CVS
, conf.py
# Pickle collected data for later comparisons.
persistent=yes
# Pickle collected data for later comparisons.
persistent=yes
@@
-21,6
+21,10
@@
persistent=yes
# usually to register additional checkers.
load-plugins=
# usually to register additional checkers.
load-plugins=
+# A comma-separated list of package or module names from where C extensions may
+# be loaded. Extensions are loading into the active Python interpreter and may
+# run arbitrary code
+extension-pkg-whitelist=numpy, scipy
[MESSAGES CONTROL]
[MESSAGES CONTROL]
@@
-38,8
+42,9
@@
load-plugins=
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W"
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W"
-#disable=
+#disable=
redefined-variable-type, locally-disabled, locally-enabled
+# TODO: Add explanation when disabling an id, either locally or globally.
[REPORTS]
[REPORTS]
@@
-88,7
+93,7
@@
single-line-if-stmt=no
no-space-check=trailing-comma,dict-separator
# Maximum number of lines in a module
no-space-check=trailing-comma,dict-separator
# Maximum number of lines in a module
-max-module-lines=
1
000
+max-module-lines=
2
000
# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
# tab).
# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
# tab).
@@
-112,13
+117,13
@@
additional-builtins=
[SIMILARITIES]
# Minimum lines number of a similarity.
[SIMILARITIES]
# Minimum lines number of a similarity.
-min-similarity-lines=4
+min-similarity-lines=
1
4
# Ignore comments when computing similarities.
ignore-comments=yes
# Ignore docstrings when computing similarities.
# Ignore comments when computing similarities.
ignore-comments=yes
# Ignore docstrings when computing similarities.
-ignore-docstrings=
yes
+ignore-docstrings=
no
# Ignore imports when computing similarities.
ignore-imports=no
# Ignore imports when computing similarities.
ignore-imports=no
@@
-145,7
+150,7
@@
class-rgx=[A-Z_][a-zA-Z0-9]+$
function-rgx=[a-z_][a-z0-9_]{2,30}$
# Regular expression which should only match correct method names
function-rgx=[a-z_][a-z0-9_]{2,30}$
# Regular expression which should only match correct method names
-method-rgx=[a-z_][a-z0-9_]{2,
3
0}$
+method-rgx=[a-z_][a-z0-9_]{2,
5
0}$
# Regular expression which should only match correct instance attribute names
attr-rgx=[a-z_][a-z0-9_]{2,30}$
# Regular expression which should only match correct instance attribute names
attr-rgx=[a-z_][a-z0-9_]{2,30}$
@@
-182,7
+187,7
@@
docstring-min-length=-1
[MISCELLANEOUS]
# List of note tags to take in consideration, separated by a comma.
[MISCELLANEOUS]
# List of note tags to take in consideration, separated by a comma.
-notes=FIXME
,XXX,TODO
+notes=FIXME
[TYPECHECK]
[TYPECHECK]
@@
-242,35
+247,35
@@
int-import-graph=
[DESIGN]
# Maximum number of arguments for function / method
[DESIGN]
# Maximum number of arguments for function / method
-max-args=
5
+max-args=
12
# Argument names that match this expression will be ignored. Default to name
# with leading underscore
ignored-argument-names=_.*
# Maximum number of locals for function / method body
# Argument names that match this expression will be ignored. Default to name
# with leading underscore
ignored-argument-names=_.*
# Maximum number of locals for function / method body
-max-locals=
15
+max-locals=
20
# Maximum number of return / yield for function / method body
max-returns=6
# Maximum number of branch for function / method body
# Maximum number of return / yield for function / method body
max-returns=6
# Maximum number of branch for function / method body
-max-branches=
12
+max-branches=
20
# Maximum number of statements in function / method body
# Maximum number of statements in function / method body
-max-statements=
5
0
+max-statements=
6
0
# Maximum number of parents for a class (see R0901).
max-parents=7
# Maximum number of attributes for a class (see R0902).
# Maximum number of parents for a class (see R0901).
max-parents=7
# Maximum number of attributes for a class (see R0902).
-max-attributes=
7
+max-attributes=
10
# Minimum number of public methods for a class (see R0903).
# Minimum number of public methods for a class (see R0903).
-min-public-methods=
2
+min-public-methods=
0
# Maximum number of public methods for a class (see R0904).
# Maximum number of public methods for a class (see R0904).
-max-public-methods=
2
0
+max-public-methods=
6
0
[EXCEPTIONS]
[EXCEPTIONS]
@@
-278,3
+283,10
@@
max-public-methods=20
# Exceptions that will emit a warning when being caught. Defaults to
# "Exception"
overgeneral-exceptions=Exception
# Exceptions that will emit a warning when being caught. Defaults to
# "Exception"
overgeneral-exceptions=Exception
+
+
+[LOGGING]
+
+# Format style used to check logging format string. `old` means using %
+# formatting, while `new` is for `{}` formatting.
+logging-format-style=fstr
\ No newline at end of file