forked from python-poetry/poetry-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
34 lines (34 loc) · 770 Bytes
/
.flake8
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
29
30
31
32
33
34
[flake8]
min_python_version = 3.7.0
max-line-length = 88
ban-relative-imports = True
enable-extensions = TC, TC1
type-checking-exempt-modules = typing, typing-extensions
format-greedy = 1
extend-ignore =
# E203: Whitespace before ':' (pycqa/pycodestyle#373)
E203,
# E501: Line too long
E501,
# SIM106: Handle error-cases first
SIM106,
# ANN101: Missing type annotation for self in method
ANN101,
# ANN102: Missing type annotation for cls in classmethod
ANN102,
per-file-ignores =
__init__.py:F401
tests/test_*:ANN201
tests/**/test_*:ANN201
exclude =
.git
__pycache__
build
dist
.venv
.tox
.pytest_cache
.github
src/poetry/core/_vendor/*
tests/fixtures/*
tests/**/fixtures/*