forked from python-poetry/tomlkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.flake8
34 lines (34 loc) · 854 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
ignore = E501, E203, W503, E704
per-file-ignores =
# N818: error suffix in exception names (API-breaking change)
tomlkit/exceptions.py: N818,
# FS003: f-string missing prefix
tests/test_items.py: FS003,
tests/test_api.py: FS003,
tests/test_toml_document.py: FS003,
exclude =
.git
__pycache__
setup.py
build
dist
releases
.venv
.tox
.mypy_cache
.pytest_cache
.vscode
.github
ban-relative-imports = true
# flake8-use-fstring: https://github.com/MichaelKim0407/flake8-use-fstring#--percent-greedy-and---format-greedy
format-greedy = 1
inline-quotes = double
eradicate-whitelist-extend = ^-.*;
extend-ignore =
# E203: Whitespace before ':' (pycqa/pycodestyle#373)
E203,
# SIM106: Handle error-cases first
SIM106,