-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
91 lines (80 loc) · 1.73 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
[project]
name = "tox-pdm"
description = "A plugin for tox that utilizes PDM as the package manager and installer"
authors = [
{name = "Frost Ming", email = "me@frostming.com"},
]
dependencies = [
"tox>=4.0",
"tomli; python_version<'3.11'",
]
requires-python = ">=3.7"
dynamic = ["version"]
license = {text = "MIT"}
readme = "README.md"
keywords = ["tox", "testing", "pdm"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[project.urls]
Homepage = "https://github.com/pdm-project/tox-pdm"
Repository = "https://github.com/pdm-project/tox-pdm"
[project.entry-points.tox]
pdm = "tox_pdm.plugin"
[project.optional-dependencies]
test = [
"pytest>=6.2",
"coverage[toml]>=5.5,<6.4",
]
lint = [
"flake8>=3.8",
"black>=20.8b1",
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm.version]
source = "scm"
[tool.pdm.scripts]
test = "pytest -v tests/"
[tool.pdm.scripts.lint]
shell = """
flake8 tox_pdm
isort --check tox_pdm tests
black --check tox_pdm tests
"""
[tool.pdm.scripts.format]
shell = """
isort tox_pdm tests
black tox_pdm tests
"""
[tool.pytest.ini_options]
filterwarnings = ["ignore::DeprecationWarning"]
[tool.black]
line-length = 88
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = "black"
atomic = true
skip_glob = ["*/setup.py"]
filter_files = true