[flake8]
# do not add excludes for files in repo
exclude = .venv/,.tox/,dist/,build/,.eggs/
format = pylint
# E203: https://github.com/python/black/issues/315
# ignore = E741,W503,W504,H,E501,E203
# The only allowed ignores are related to black and isort
# https://black.readthedocs.io/en/stable/the_black_code_style.html#line-length
# "H" are generated by hacking plugin, which is not black compatible
extend-ignore =
  E203,
  E501,
  # complexity is also measured by pylint: too-many-branches
  C901,
  # We use type annotations instead
  DAR104,
  # https://github.com/terrencepreilly/darglint/issues/165
  DAR301,
  # duplicate of pylint W0611 (unused-import)
  F401,
  # duplicate of pylint E0602 (undefined-variable)
  F821,
  # duplicate of pylint W0612 (unused-variable)
  F841,
  H,
# 88 is official black default:
max-line-length = 88
