[flake8]
max-line-length = 100
enable-extensions = FT
select =
    C901,  # flake8-mccabe
    E,  # flake8-pycodestyle
    F,  # flake8-pyflakes
    W,  # flake8-pycodestyle
    FT,  # flake8-tergeo
ignore=
    # conflict with black formatter
    W503,E203,
    # ignore !r recommendation
    FTB907,
    # some things don't need a docstring
    FTP306,
per-file-ignores =
    tests/*:FTP300,FTP301,FTP302,FTP303,FTP304
    tests/test_data/*:FTP040
    tests/test_subdirs/*:FTP040
ftp-python-version = 3.10.0
ftp-pyproject-toml-file = pyproject.toml
ftp-auto-manage-options = true
ftp-pytest-parametrize-names-type = csv
ftp-distribution-name = swagger-plugin-for-sphinx
ftp-requirements-packages = tests,swagger_plugin_for_sphinx
ftp-requirements-ignore-type-checking-block = true
ftp-requirements-module-extra-mapping =
    tests | *,
ftp-requirements-mapping =
    yaml:pyyaml
