.flake8 - Flake8 configuration

To run, execute flake8 from the root directory of the project.

[flake8]

Use Black’s default of 88 charaters per line.

max-line-length=88
ignore=

To be compatible with Black’s default.

  W503,
  E203,

Block comment should start with #. See pycodestyle error codes. We use this to comment code out.

  E265,

Too many leading ‘#’ for block comment. Again, for commenting code out.

  E266,

Line too long (82 > 79 characters). Flake8 complains about comment lines being too long, while Black allows tihs. Disable flake8’s long line detection to avoid these spurious warnings.

  E501,

exclude =
  _build/
  alembic/
  .tox/
  .venv/