summaryrefslogtreecommitdiff
path: root/pylintrc
blob: c5f61a18ed32450c9507266afbd1a0a5d61233d1 (plain)
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
# gpsd configuration for pylintrc

# gpsd does not try to conform to pylint, but pylint can be useful
# to find things like unused variables, missing docstrings, undefined
# variables, unused imports, etc.
# 
# The whitespace checker in pylint conflicts with that in pycodestyle.
# pycodestyle replaces pep8 for checking PEP8 conformity.
# 
# Use pylint as an advisory tool, not as a blunt instrument.
#
# This file is Copyright (c) 2018 by the GPSD project
# SPDX-License-Identifier: BSD-2-clause

[MESSAGES CONTROL]

# Disable warnings that are silly
disable=bad-continuation,
        invalid-name,
        misplaced-comparison-constant,
        no-self-use,
        too-many-branches,
        too-many-lines,
        too-many-locals,
        too-many-nested-blocks,
        too-many-public-methods,
        too-many-statements