2018-02-20 10:23:04 +00:00
|
|
|
# https://docs.pylint.org/en/latest/technical_reference/features.html
|
|
|
|
|
2017-11-16 20:44:51 +00:00
|
|
|
[MESSAGES CONTROL]
|
2019-01-31 04:53:48 +00:00
|
|
|
disable =
|
|
|
|
# Must inherit from object for Python 2 compatibility.
|
|
|
|
useless-object-inheritance,
|
|
|
|
# repeated-keyword check is buggy:
|
|
|
|
# https://github.com/PyCQA/pylint/issues/1843#issuecomment-419746286
|
|
|
|
repeated-keyword,
|
2017-11-16 20:44:51 +00:00
|
|
|
|
2018-02-25 23:44:21 +00:00
|
|
|
# bidict/_version.py is generated by setuptools_scm
|
|
|
|
ignore = _version.py
|
|
|
|
|
2018-02-20 10:23:04 +00:00
|
|
|
# Maximum number of parents for a class.
|
|
|
|
# The default of 7 results in "too-many-ancestors" for all bidict classes.
|
2018-04-25 14:34:27 +00:00
|
|
|
max-parents = 13
|
2018-02-20 10:23:04 +00:00
|
|
|
|
|
|
|
# Maximum number of arguments for a function.
|
|
|
|
# The default of 5 only leaves room for 4 args besides self for methods.
|
|
|
|
max-args=6
|