Skip to content

Commit c6f6635

Browse files
committed
Indent pylint tool settings
1 parent 3ae8936 commit c6f6635

1 file changed

Lines changed: 85 additions & 84 deletions

File tree

pyproject.toml

Lines changed: 85 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,84 +1,85 @@
1-
[tool.pylint.'MASTER']
2-
3-
# Pickle collected data for later comparisons.
4-
persistent = true
5-
6-
# Use multiple processes to speed up Pylint.
7-
jobs = 0
8-
9-
# List of plugins (as comma separated values of python modules names) to load,
10-
# usually to register additional checkers.
11-
load-plugins = ['pylint.extensions.docparams']
12-
13-
# Allow loading of arbitrary C extensions. Extensions are imported into the
14-
# active Python interpreter and may run arbitrary code.
15-
unsafe-load-any-extension = false
16-
17-
[tool.pylint.'MESSAGES CONTROL']
18-
19-
# Enable the message, report, category or checker with the given id(s). You can
20-
# either give multiple identifier separated by comma (,) or put this option
21-
# multiple time (only on the command line, not in the configuration file where
22-
# it should appear only once). See also the "--disable" option for examples.
23-
enable = [
24-
'spelling',
25-
'useless-suppression',
26-
]
27-
28-
# Disable the message, report, category or checker with the given id(s). You
29-
# can either give multiple identifiers separated by comma (,) or put this
30-
# option multiple times (only on the command line, not in the configuration
31-
# file where it should appear only once).You can also use "--disable=all" to
32-
# disable everything first and then reenable specific checks. For example, if
33-
# you want to run only the similarities checker, you can use "--disable=all
34-
# --enable=similarities". If you want to run only the classes checker, but have
35-
# no Warning level messages displayed, use"--disable=all --enable=classes
36-
# --disable=W"
37-
38-
disable = [
39-
'no-self-use',
40-
'line-too-long',
41-
'too-few-public-methods',
42-
'too-many-lines',
43-
'too-many-locals',
44-
'too-many-arguments',
45-
'too-many-instance-attributes',
46-
'too-many-return-statements',
47-
'locally-disabled',
48-
# Let flake8 handle unused imports
49-
'unused-import',
50-
# Let isort deal with sorting
51-
'ungrouped-imports',
52-
# We don't need everything to be documented because of mypy
53-
'missing-type-doc',
54-
'missing-returns-doc',
55-
'missing-return-type-doc',
56-
# Let YAPF deal with this
57-
'bad-continuation',
58-
# Let YAPF deal with this
59-
'bad-whitespace',
60-
# Too difficult to please
61-
'duplicate-code',
62-
# Let isort handle imports
63-
'wrong-import-order',
64-
]
65-
66-
[tool.pylint.'FORMAT']
67-
68-
# Allow the body of an if to be on the same line as the test if there is no
69-
# else.
70-
single-line-if-stmt = false
71-
72-
[tool.pylint.'SPELLING']
73-
74-
# Spelling dictionary name. Available dictionaries: none. To make it working
75-
# install python-enchant package.
76-
spelling-dict = 'en_US'
77-
78-
# A path to a file that contains private dictionary; one word per line.
79-
spelling-private-dict-file = 'spelling_private_dict.txt'
80-
81-
# Tells whether to store unknown words to indicated private dictionary in
82-
# --spelling-private-dict-file option instead of raising a message.
83-
84-
spelling-store-unknown-words = 'no'
1+
[tool.pylint]
2+
3+
[tool.pylint.'MASTER']
4+
5+
# Pickle collected data for later comparisons.
6+
persistent = true
7+
8+
# Use multiple processes to speed up Pylint.
9+
jobs = 0
10+
11+
# List of plugins (as comma separated values of python modules names) to load,
12+
# usually to register additional checkers.
13+
load-plugins = ['pylint.extensions.docparams']
14+
15+
# Allow loading of arbitrary C extensions. Extensions are imported into the
16+
# active Python interpreter and may run arbitrary code.
17+
unsafe-load-any-extension = false
18+
19+
[tool.pylint.'MESSAGES CONTROL']
20+
21+
# Enable the message, report, category or checker with the given id(s). You can
22+
# either give multiple identifier separated by comma (,) or put this option
23+
# multiple time (only on the command line, not in the configuration file where
24+
# it should appear only once). See also the "--disable" option for examples.
25+
enable = [
26+
'spelling',
27+
'useless-suppression',
28+
]
29+
30+
# Disable the message, report, category or checker with the given id(s). You
31+
# can either give multiple identifiers separated by comma (,) or put this
32+
# option multiple times (only on the command line, not in the configuration
33+
# file where it should appear only once).You can also use "--disable=all" to
34+
# disable everything first and then reenable specific checks. For example, if
35+
# you want to run only the similarities checker, you can use "--disable=all
36+
# --enable=similarities". If you want to run only the classes checker, but have
37+
# no Warning level messages displayed, use"--disable=all --enable=classes
38+
# --disable=W"
39+
40+
disable = [
41+
# Tests need `self` to be in a class but do not use it.
42+
'no-self-use',
43+
'too-few-public-methods',
44+
'too-many-locals',
45+
'too-many-arguments',
46+
'too-many-instance-attributes',
47+
'too-many-return-statements',
48+
'locally-disabled',
49+
# Let flake8 handle unused imports
50+
'unused-import',
51+
# Let isort deal with sorting
52+
'ungrouped-imports',
53+
# We don't need everything to be documented because of mypy
54+
'missing-type-doc',
55+
'missing-returns-doc',
56+
'missing-return-type-doc',
57+
# Let YAPF deal with this
58+
'bad-continuation',
59+
# Let YAPF deal with this
60+
'bad-whitespace',
61+
# Too difficult to please
62+
'duplicate-code',
63+
# Let isort handle imports
64+
'wrong-import-order',
65+
]
66+
67+
[tool.pylint.'FORMAT']
68+
69+
# Allow the body of an if to be on the same line as the test if there is no
70+
# else.
71+
single-line-if-stmt = false
72+
73+
[tool.pylint.'SPELLING']
74+
75+
# Spelling dictionary name. Available dictionaries: none. To make it working
76+
# install python-enchant package.
77+
spelling-dict = 'en_US'
78+
79+
# A path to a file that contains private dictionary; one word per line.
80+
spelling-private-dict-file = 'spelling_private_dict.txt'
81+
82+
# Tells whether to store unknown words to indicated private dictionary in
83+
# --spelling-private-dict-file option instead of raising a message.
84+
85+
spelling-store-unknown-words = 'no'

0 commit comments

Comments
 (0)