forked from riscv/riscv-opcodes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pylintrc
More file actions
36 lines (35 loc) · 1.28 KB
/
Copy path.pylintrc
File metadata and controls
36 lines (35 loc) · 1.28 KB
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
[MAIN]
py-version = 3.9.0
disable=
# Allow 'TODO:' in code.
fixme,
# Overly zealous duplicate code detection.
duplicate-code,
# These debatable style lints are quite annoying, and often push
# you into mixing up small changes (adding one statement to a function)
# with large refactors (splitting the function up into shorter functions).
too-few-public-methods,
too-many-arguments,
too-many-positional-arguments,
too-many-branches,
too-many-instance-attributes,
too-many-locals,
too-many-return-statements,
too-many-statements,
# Handled by Black.
line-too-long,
# Conditional dependence on matplotlib
import-outside-toplevel,
# This is technically correct but not that important.
logging-fstring-interpolation,
# TODO: These should be enabled but writing documentation for
# all of the code is not feasible in one go.
missing-module-docstring,
missing-function-docstring,
missing-class-docstring,
# Unfortunately pylint doesn't respect py-version when warning
# about deprecated items. See https://github.com/pylint-dev/pylint/issues/10608
deprecated-class,
# These names are fine when used sensibly. Without listing them here
# Pylint will complain they are too short.
good-names=c,i,j,k,id,pc