forked from virt-manager/virt-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pylintrc
35 lines (25 loc) · 1.6 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
[MESSAGES CONTROL]
# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifier separated by comma (,) or put this option
# multiple time (only on the command line, not in the configuration file where
# it should appear only once).
disable=Design,Similarities,invalid-name,missing-docstring,line-too-long,too-many-lines,superfluous-parens,bad-whitespace,locally-disabled,no-self-use,unnecessary-lambda,star-args,fixme,global-statement,bare-except,anomalous-backslash-in-string,broad-except,cyclic-import,bad-continuation,locally-enabled,unidiomatic-typecheck,redefined-variable-type,bad-option-value,wrong-import-position,consider-using-ternary,no-else-return,len-as-condition,inconsistent-return-statements,useless-object-inheritance,consider-using-in,useless-return,assignment-from-none,chained-comparison,import-outside-toplevel,use-a-generator,consider-using-with,consider-using-f-string,unspecified-encoding,use-maxsplit-arg
enable=fixme
[MASTER]
# Don't pickle any data for cross run comparison reports
persistent=no
# Make sure pylint checks against gtk3
init-hook="import gi; gi.require_version('Gtk', '3.0')"
[REPORTS]
reports=no
score=no
[FORMAT]
# Use 80 character line limit
max-line-length=80
[VARIABLES]
# This is the standard 'dummy' regex, with two 'ignore' variations added
dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_|ignore.*|.*_ignore
# This is the standard argument regex, with two 'ignore' variations added
ignored-argument-names=_.*|^ignored_|^unused_|ignore.*|.*_ignore
# gettext builtins
additional-builtins=_,ngettext