Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Commit 4fc4885

Browse files
committed
meta: update and rename pylintrc
1 parent 8916b5d commit 4fc4885

File tree

3 files changed

+79
-15
lines changed

3 files changed

+79
-15
lines changed

.editorconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ indent_style = space
1313
indent_size = 4
1414

1515
[meson.build]
16-
indent_style = space
1716
indent_size = 2
1817

1918
[*.md]

.pylintrc

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
[MAIN]
2+
3+
# Use multiple processes to speed up Pylint.
4+
jobs=4
5+
6+
7+
[MESSAGES CONTROL]
8+
9+
# Disable the message, report, category or checker with the given id(s). You
10+
# can either give multiple identifiers separated by comma (,) or put this
11+
# option multiple times (only on the command line, not in the configuration
12+
# file where it should appear only once). You can also use "--disable=all" to
13+
# disable everything first and then re-enable specific checks. For example, if
14+
# you want to run only the similarities checker, you can use "--disable=all
15+
# --enable=similarities". If you want to run only the classes checker, but have
16+
# no Warning level messages displayed, use "--disable=all --enable=classes
17+
# --disable=W".
18+
disable=locally-disabled,
19+
suppressed-message,
20+
useless-suppression,
21+
#line-too-long,
22+
fixme,
23+
missing-module-docstring,
24+
missing-function-docstring,
25+
missing-class-docstring,
26+
invalid-name,
27+
no-member,
28+
too-few-public-methods,
29+
attribute-defined-outside-init,
30+
logging-fstring-interpolation,
31+
unused-argument
32+
33+
34+
[FORMAT]
35+
36+
# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
37+
# tab).
38+
indent-string=' '
39+
40+
# Number of spaces of indent required inside a hanging or continued line.
41+
indent-after-paren=4
42+
43+
# Expected format of line ending, e.g. empty (any line ending), LF or CRLF.
44+
expected-line-ending-format=LF
45+
46+
47+
[MISCELLANEOUS]
48+
49+
# List of note tags to take in consideration, separated by a comma.
50+
notes=FIXME,XXX,TODO
51+
52+
53+
[VARIABLES]
54+
55+
# Tells whether we should check for unused import in __init__ files.
56+
init-import=no
57+
58+
# A regular expression matching the name of dummy variables (i.e. expectedly
59+
# not used).
60+
dummy-variables-rgx=(_+[a-zA-Z0-9]*?$)|dummy
61+
62+
# List of additional names supposed to be defined in builtins. Remember that
63+
# you should avoid to define new builtins when possible.
64+
additional-builtins=_
65+
66+
67+
[SIMILARITIES]
68+
69+
# Minimum lines number of a similarity.
70+
min-similarity-lines=4
71+
72+
# Ignore comments when computing similarities.
73+
ignore-comments=yes
74+
75+
# Ignore docstrings when computing similarities.
76+
ignore-docstrings=yes
77+
78+
# Ignore imports when computing similarities.
79+
ignore-imports=no

pylintrc

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)