This repository has been archived by the owner on Jun 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
60 lines (53 loc) · 1.52 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
[build-system]
requires = ["flit_core >=2,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.metadata]
module = "blackbench"
author = "Richard Si"
author-email = "[email protected]"
home-page = "https://github.com/ichard26/blackbench"
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Intended Audience :: Developers",
"Topic :: Software Development :: Testing",
"Typing :: Typed",
]
description-file = "README.md"
requires = [
"click >= 8.0.0",
"cloup >= 0.9.0",
"pyperf >= 2.0.0, <3",
]
requires-python = ">=3.8"
[tool.flit.scripts]
blackbench = "blackbench:main"
[tool.flit.metadata.urls]
Documentation = "https://blackbench.readthedocs.io/en/stable/"
Changelog = "https://blackbench.readthedocs.io/en/latest/changelog.html"
[tool.black]
line-length = 100
preview = true
target-version = ["py38", "py39"]
extend-exclude = '''
/(
src/blackbench/.*-targets
| src/blackbench/.*-template.py
| tests/data
)
'''
[tool.isort]
profile = "black"
skip_gitignore = true
extend_skip_glob = ["*-template.py", "*-targets", "tests/data/*"]
py_version = "38"
known_third_party = ["click", "cloup", "pyperf"]
known_first_party = ["blackbench"]
[tool.coverage.run]
omit = ['*/site-packages/*']
[tool.pytest.ini_options]
python_files = "*_tests.py"