bidict/.pylintrc

21 lines
654 B
INI

# https://docs.pylint.org/en/latest/technical_reference/features.html
[MESSAGES CONTROL]
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,
# bidict/_version.py is generated by setuptools_scm
ignore = _version.py
# Maximum number of parents for a class.
# The default of 7 results in "too-many-ancestors" for all bidict classes.
max-parents = 13
# Maximum number of arguments for a function.
# The default of 5 only leaves room for 4 args besides self for methods.
max-args=6