-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathpyproject.toml
94 lines (86 loc) · 1.28 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[build-system]
requires = ["setuptools>=35.0.2", "wheel>=0.29.0"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-v --tb=short"
norecursedirs = [
".eggs",
".git",
".pytest_cache",
".tox",
"build",
"dist",
"docs",
"env",
"venv",
]
testpaths = [
"tests",
]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist =
check
lint
py36
py37
py38
py39
docs
[testenv]
extras =
tests
amazon
google
local
microsoft
minio
rackspace
passenv = *
commands = pytest {posargs}
[testenv:check]
extras =
check
commands =
python setup.py sdist
twine check dist/*.tar.gz
check-manifest -v
[testenv:lint]
extras =
lint
commands =
pre-commit run --all-files
[testenv:docs]
deps = -rdocs/requirements.txt
commands =
sphinx-build docs/ dist/docs {posargs}
sphinx-build -b linkcheck docs dist/docs
"""
[tool.black]
line-length = 88
target-version = ["py36", "py37", "py38"]
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.check-manifest]
ignore = [
".flake8",
".pre-commit-config.yaml",
".travis.yml",
"pyproject.toml",
"tox.ini",
]