summaryrefslogtreecommitdiff
path: root/setup.cfg
blob: 770db0e1106087f1a48b82fd0fdeb31e78f8e031 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[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

[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/example_crlf_file.py:F401