Skip to content

Commit 0d91f6d

Browse files
committed
ci: integrate tox-pdm
1 parent 8ea9e24 commit 0d91f6d

File tree

5 files changed

+159
-26
lines changed

5 files changed

+159
-26
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ test.py
77
/my
88
.vscode
99
.idea
10+
.tox
1011

1112
dist/
1213
.pdm-python

pdm.lock

Lines changed: 114 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ test = [
1313
"flake8>=5.0.4",
1414
"six>=1.16.0",
1515
]
16+
dev = [
17+
"tox-pdm>=0.6.1",
18+
]
1619
[build-system]
1720
requires = ["pdm-backend"]
1821
build-backend = "pdm.backend"
@@ -28,7 +31,7 @@ authors = [
2831
dependencies = [
2932
"dill<1.0.0,>=0.3.2",
3033
"six<2.0.0,>=1.16.0",
31-
"setuptools>=68.0.0",
34+
"packaging>=24.0",
3235
]
3336
requires-python = ">=3.7"
3437
readme = "README.md"

requirements.txt

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# This file is @generated by PDM.
2+
# Please do not edit it manually.
3+
4+
colorama==0.4.6; sys_platform == "win32" or platform_system == "Windows"
5+
dill==0.3.7
6+
distlib==0.3.8
7+
exceptiongroup==1.2.0; python_version < "3.11"
8+
filelock==3.12.2
9+
flake8==5.0.4
10+
importlib-metadata==4.2.0; python_version < "3.8"
11+
iniconfig==2.0.0
12+
mccabe==0.7.0
13+
packaging==24.0
14+
platformdirs==2.6.2
15+
pluggy==1.2.0
16+
py==1.11.0
17+
pycodestyle==2.9.1
18+
pyflakes==2.5.0
19+
pytest==7.4.4
20+
pytest-order==1.2.0
21+
six==1.16.0
22+
tomli==2.0.1; python_version < "3.11"
23+
tox==3.28.0
24+
tox-pdm==0.6.1
25+
typing-extensions==4.7.1; python_version < "3.8"
26+
virtualenv==20.16.2
27+
zipp==3.15.0; python_version < "3.8"

tox.ini

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[tox]
2+
min_version = 4.0
3+
envlist = py3{12,11,10,9,8,7}
4+
5+
[testenv]
6+
groups = test
7+
allowlist_externals = pytest
8+
commands = pytest -v
9+
10+
[testenv:lint]
11+
groups = lint
12+
commands =
13+
flake8 pydumpling/ tests/

0 commit comments

Comments
 (0)