.flake8 540 B

1234567891011
  1. # TODO: incorporate this into pyproject.toml if flake8 supports it in the future.
  2. # See https://github.com/PyCQA/flake8/issues/234
  3. [flake8]
  4. # see https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
  5. # for error codes. The ones we ignore are:
  6. # W503: line break before binary operator
  7. # W504: line break after binary operator
  8. # E203: whitespace before ':' (which is contrary to pep8?)
  9. # E731: do not assign a lambda expression, use a def
  10. # E501: Line too long (black enforces this for us)
  11. ignore=W503,W504,E203,E731,E501