Skip to content

Commit 2fb01e1

Browse files
committed
ci/cd: add --pyproject to pdm-export hook
1 parent 1a1d628 commit 2fb01e1

File tree

2 files changed

+18
-56
lines changed

2 files changed

+18
-56
lines changed

.pre-commit-config.yaml

+10-9
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,16 @@ repos:
4444

4545
- repo: local
4646
hooks:
47-
# - id: pdm-export
48-
# name: pdm-export
49-
# entry: pdm export
50-
# args:
51-
# - -o
52-
# - requirements.txt
53-
# - --without-hashes
54-
# language: system
55-
# pass_filenames: false
47+
- id: pdm-export
48+
name: pdm-export
49+
entry: pdm export
50+
args:
51+
- -o
52+
- requirements.txt
53+
- --without-hashes
54+
- --pyproject
55+
language: system
56+
pass_filenames: false
5657
- id: pdm-lock-check
5758
name: pdm-lock-check
5859
entry: pdm lock --check

requirements.txt

+8-47
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,11 @@
11
# This file is @generated by PDM.
22
# Please do not edit it manually.
33

4-
blinker==1.6.2
5-
cacheyou==23.3
6-
certifi==2022.12.7
7-
cfgv==3.3.1
8-
charset-normalizer==3.1.0
9-
click==8.1.3
10-
distlib==0.3.6
11-
exceptiongroup==1.1.1
12-
filelock==3.10.3
13-
findpython==0.2.4
14-
identify==2.5.21
15-
idna==3.4
16-
importlib-metadata==6.6.0
17-
iniconfig==2.0.0
18-
installer==0.7.0
19-
markdown-it-py==2.2.0
20-
mdurl==0.1.2
21-
msgpack==1.0.5
22-
mypy==1.3.0
23-
mypy-extensions==1.0.0
24-
nodeenv==1.7.0
25-
packaging==23.0
26-
pdm==2.7.0
27-
platformdirs==3.1.1
28-
pluggy==1.0.0
29-
pre-commit==3.3.2
30-
pydantic==1.10.8
31-
pygments==2.15.1
32-
pyproject-hooks==1.0.0
33-
pytest==7.3.1
34-
python-dotenv==1.0.0
35-
pyyaml==6.0
36-
requests==2.29.0
37-
requests-toolbelt==1.0.0
38-
resolvelib==1.0.1
39-
rich==13.3.5
40-
setuptools==67.6.0
41-
shellingham==1.5.0.post1
42-
tomli==2.0.1
43-
tomlkit==0.11.8
44-
typer==0.9.0
45-
types-PyYAML==6.0.12.10
46-
typing-extensions==4.5.0
47-
unearth==0.9.0
48-
urllib3==1.26.15
49-
virtualenv==20.21.0
50-
zipp==3.15.0
4+
mypy>=1.2.0
5+
pdm>=2.5.3
6+
pre-commit>=3.0.4
7+
pydantic>=1.10.5
8+
pytest>=7.2.1
9+
pyyaml>=6.0
10+
typer>=0.7.0
11+
types-PyYAML>=6.0.12.9

0 commit comments

Comments
 (0)