forked from cherrypy/cheroot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
39 lines (36 loc) · 986 Bytes
/
pyproject.toml
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
35
36
37
38
39
[build-system]
requires = [
# Essentials
"setuptools>=34.4",
"wheel",
# Plugins
"setuptools_scm>=1.15",
"setuptools_scm_git_archive>=1.0",
]
build-backend = "setuptools.build_meta"
[tool.flakehell]
# optionally inherit from remote config (or local if you want)
#base = "https://raw.githubusercontent.com/life4/flakehell/master/pyproject.toml"
config = ".flake8"
# specify any flake8 options. For example, exclude "example.py":
exclude = [
".eggs/",
".tox/",
#"cheroot/test",
]
# make output nice
format = "grouped"
# don't limit yourself
#max_line_length = 120
# show line of source code in output
show_source = true
# list of plugins and rules for them
[tool.flakehell.plugins]
# include everything in pyflakes except F401
pyflakes = ["+*", "-F401"]
## enable only codes from S100 to S199
#flake8-bandit = ["-*", "+S1??"]
# enable everything that starts from `flake8-`
"flake8-*" = ["+*"]
## explicitly disable plugin
#flake8-docstrings = ["-*"]