forked from maread99/market_prices
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pylintrc
93 lines (78 loc) · 3.56 KB
/
.pylintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# Following comments can be placed at the top of a test file to
# disable errors not considered relevant for testing under pytest.
# pylint: disable=missing-function-docstring, missing-type-doc
# pylint: disable=missing-param-doc, missing-any-param-doc, redefined-outer-name
# pylint: disable=too-many-public-methods, too-many-arguments, too-many-locals
# pylint: disable=too-many-statements
# pylint: disable=protected-access, no-self-use, unused-argument, invalid-name
# missing-fuction-docstring: doc not required for all tests
# protected-access: not required for tests
# not compatible with use of fixtures to parameterize tests:
# too-many-arguments, too-many-public-methods
# not compatible with pytest fixtures:
# redefined-outer-name, no-self-use, missing-any-param-doc, missing-type-doc
# unused-argument: not compatible with pytest fixtures, caught by pylance anyway.
# invalid-name: names in tests not expected to strictly conform with snake_case.
# Any flake8 disabled violations handled via per-file-ignores on .flake8
[MASTER]
# List of plugins (as comma separated values of python module names) to load,
# usually to register additional checkers.
load-plugins=pylint.extensions.broad_try_clause,
pylint.extensions.confusing_elif,
pylint.extensions.comparetozero,
pylint.extensions.bad_builtin,
pylint.extensions.mccabe,
pylint.extensions.docstyle,
pylint.extensions.check_elif,
pylint.extensions.overlapping_exceptions,
pylint.extensions.empty_comment,
pylint.extensions.typing,
pylint.extensions.docparams
[MESSAGES CONTROL]
# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifiers separated by comma (,) or put this
# option multiple times (only on the command line, not in the configuration
# file where it should appear only once). You can also use "--disable=all" to
# disable everything first and then reenable specific checks. For example, if
# you want to run only the similarities checker, you can use "--disable=all
# --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=missing-raises-doc, # most exceptions are not worthy of documenting
missing-return-doc, # only included to public published documentation
missing-yield-doc, # only included to public published documentation
missing-yield-type-doc, # only included to public published documentation
no-else-return, # prefer explict code paths
no-else-raise, # prefer explict code paths
[REPORTS]
# Set the output format. Available formats are text, parseable, colorized, json
# and msvs (visual studio). You can also give a reporter class, e.g.
# mypackage.mymodule.MyReporterClass.
output-format=colorized
[BASIC]
# Good variable names which should always be accepted, separated by a comma.
good-names=i, j,
n,
e, s,
k, v,
d,
ts, td, dt, dr, tz,
df, bv, ii,
pp, bi, cc,
m, f,
ll, rl
[FORMAT]
# Maximum number of characters on a single line.
# max-line-length extended in line with black default style
max-line-length=100
# Maximum number of lines in a module.
max-module-lines=2000
[TYPING]
py-version=3.9
runtime-typing=True
[PARAMETER_DOCUMENTATION]
accept-no-param-doc=no
accept-no-raise-doc=yes
accept-no-return-doc=no
accept-no-yields-doc=no
default-docstring-type=numpy