blob: 2c04622f0133c60c97eb156c2ab52b7279f16558 [file] [log] [blame]
[mypy]
python_version = 3.6
follow_imports = silent
disallow_any_generics = True
strict_optional = True
check_untyped_defs = True
allow_redefinition = True
[mypy-test_isort]
strict_optional = False
[mypy-isort.isort]
strict_optional = False
[tool:pytest]
testpaths = tests
filterwarnings =
ignore::DeprecationWarning:distlib
ignore::DeprecationWarning:requirementslib
ignore::hypothesis.errors.NonInteractiveExampleWarning:hypothesis
[flake8]
max-line-length = 100
# Ignore non PEP 8 compliant rules as suggested by black
ignore =
W503 # https://github.com/psf/black/blob/master/docs/the_black_code_style.md#line-breaks--binary-operators
E203 # https://github.com/psf/black/blob/master/docs/the_black_code_style.md#slices
exclude = _vendored
per-file-ignores =
isort/__init__.py:F401
isort/stdlibs/__init__.py:F401
tests/unit/example_crlf_file.py:F401