Skip to content

Commit 85182e4

Browse files
committed
make maint
1 parent bff4b8e commit 85182e4

File tree

5 files changed

+96
-144
lines changed

5 files changed

+96
-144
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ repos:
2828
- id: blacken-docs
2929
additional_dependencies: [black==22.1.0]
3030
- repo: https://github.com/astral-sh/ruff-pre-commit
31-
rev: v0.7.2
31+
rev: v0.7.4
3232
hooks:
3333
- id: ruff
3434
args: ['--fix']

pdfly/cli.py

+1-6
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ def compress(
198198
output: Annotated[
199199
Path,
200200
typer.Argument(
201-
exists=False,
202201
writable=True,
203202
),
204203
],
@@ -211,18 +210,14 @@ def uncompress(
211210
pdf: Annotated[
212211
Path,
213212
typer.Argument(
214-
exists=True,
215-
file_okay=True,
216213
dir_okay=False,
217-
writable=False,
218-
readable=True,
214+
exists=True,
219215
resolve_path=True,
220216
),
221217
],
222218
output: Annotated[
223219
Path,
224220
typer.Argument(
225-
exists=False,
226221
writable=True,
227222
),
228223
],

requirements/ci.txt

+15-35
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,59 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.8
2+
# This file is autogenerated by pip-compile with Python 3.10
33
# by the following command:
44
#
55
# pip-compile requirements/ci.in
66
#
7-
aiohttp==3.9.1
8-
# via black
9-
aiosignal==1.3.1
10-
# via aiohttp
117
astor==0.8.1
128
# via flake8-simplify
13-
async-timeout==4.0.3
14-
# via aiohttp
15-
attrs==23.1.0
16-
# via
17-
# aiohttp
18-
# flake8-bugbear
19-
black==23.12.0
9+
attrs==24.2.0
10+
# via flake8-bugbear
11+
black==24.10.0
2012
# via -r requirements/ci.in
2113
click==8.1.7
2214
# via black
23-
flake8==6.1.0
15+
flake8==7.1.1
2416
# via
2517
# -r requirements/ci.in
2618
# flake8-bugbear
2719
# flake8-comprehensions
2820
# flake8-isort
2921
# flake8-simplify
30-
flake8-bugbear==23.12.2
22+
flake8-bugbear==24.10.31
3123
# via -r requirements/ci.in
32-
flake8-comprehensions==3.14.0
24+
flake8-comprehensions==3.16.0
3325
# via -r requirements/ci.in
3426
flake8-isort==6.1.1
3527
# via -r requirements/ci.in
3628
flake8-simplify==0.21.0
3729
# via -r requirements/ci.in
38-
frozenlist==1.4.1
39-
# via
40-
# aiohttp
41-
# aiosignal
42-
idna==3.6
43-
# via yarl
4430
isort==5.13.2
4531
# via flake8-isort
4632
mccabe==0.7.0
4733
# via flake8
48-
multidict==6.0.4
49-
# via
50-
# aiohttp
51-
# yarl
52-
mypy==1.7.1
34+
mypy==1.13.0
5335
# via -r requirements/ci.in
5436
mypy-extensions==1.0.0
5537
# via
5638
# black
5739
# mypy
58-
packaging==23.2
40+
packaging==24.2
5941
# via black
6042
pathspec==0.12.1
6143
# via black
62-
platformdirs==4.1.0
44+
platformdirs==4.3.6
6345
# via black
64-
pycodestyle==2.11.1
46+
pycodestyle==2.12.1
6547
# via flake8
66-
pyflakes==3.1.0
48+
pyflakes==3.2.0
6749
# via flake8
68-
ruff==0.1.8
50+
ruff==0.7.4
6951
# via -r requirements/ci.in
70-
tomli==2.0.1
52+
tomli==2.1.0
7153
# via
7254
# black
7355
# mypy
74-
typing-extensions==4.9.0
56+
typing-extensions==4.12.2
7557
# via
7658
# black
7759
# mypy
78-
yarl==1.9.4
79-
# via aiohttp

requirements/dev.txt

+60-77
Original file line numberDiff line numberDiff line change
@@ -1,186 +1,169 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.8
2+
# This file is autogenerated by pip-compile with Python 3.10
33
# by the following command:
44
#
55
# pip-compile requirements/dev.in
66
#
7-
aiohttp==3.9.1
8-
# via black
9-
aiosignal==1.3.1
10-
# via aiohttp
11-
annotated-types==0.6.0
7+
annotated-types==0.7.0
128
# via pydantic
13-
async-timeout==4.0.3
14-
# via aiohttp
15-
attrs==23.1.0
16-
# via aiohttp
17-
black==23.12.0
9+
backports-tarfile==1.2.0
10+
# via jaraco-context
11+
black==24.10.0
1812
# via -r requirements/dev.in
19-
build==1.0.3
13+
build==1.2.2.post1
2014
# via pip-tools
21-
certifi==2023.11.17
15+
certifi==2024.8.30
2216
# via requests
23-
cffi==1.16.0
17+
cffi==1.17.1
2418
# via cryptography
2519
cfgv==3.4.0
2620
# via pre-commit
27-
charset-normalizer==3.3.2
21+
charset-normalizer==3.4.0
2822
# via requests
2923
click==8.1.7
3024
# via
3125
# black
3226
# pip-tools
33-
coverage[toml]==7.3.3
27+
coverage[toml]==7.6.6
3428
# via
3529
# coverage
3630
# pytest-cov
37-
cryptography==41.0.7
31+
cryptography==43.0.3
3832
# via secretstorage
39-
distlib==0.3.8
33+
distlib==0.3.9
4034
# via virtualenv
41-
docutils==0.20.1
35+
docutils==0.21.2
4236
# via readme-renderer
43-
exceptiongroup==1.2.0
37+
exceptiongroup==1.2.2
4438
# via pytest
45-
filelock==3.13.1
39+
filelock==3.16.1
4640
# via virtualenv
47-
frozenlist==1.4.1
48-
# via
49-
# aiohttp
50-
# aiosignal
51-
identify==2.5.33
41+
identify==2.6.2
5242
# via pre-commit
53-
idna==3.6
54-
# via
55-
# requests
56-
# yarl
57-
importlib-metadata==7.0.0
43+
idna==3.10
44+
# via requests
45+
importlib-metadata==8.5.0
5846
# via
59-
# build
6047
# keyring
6148
# twine
62-
importlib-resources==6.1.1
63-
# via keyring
6449
iniconfig==2.0.0
6550
# via pytest
66-
jaraco-classes==3.3.0
51+
jaraco-classes==3.4.0
52+
# via keyring
53+
jaraco-context==6.0.1
54+
# via keyring
55+
jaraco-functools==4.1.0
6756
# via keyring
6857
jeepney==0.8.0
6958
# via
7059
# keyring
7160
# secretstorage
72-
keyring==24.3.0
61+
keyring==25.5.0
7362
# via twine
7463
markdown-it-py==3.0.0
7564
# via rich
7665
mdurl==0.1.2
7766
# via markdown-it-py
78-
more-itertools==10.1.0
79-
# via jaraco-classes
80-
multidict==6.0.4
67+
more-itertools==10.5.0
8168
# via
82-
# aiohttp
83-
# yarl
69+
# jaraco-classes
70+
# jaraco-functools
8471
mypy-extensions==1.0.0
8572
# via black
86-
nh3==0.2.15
73+
nh3==0.2.18
8774
# via readme-renderer
88-
nodeenv==1.8.0
75+
nodeenv==1.9.1
8976
# via pre-commit
90-
packaging==23.2
77+
packaging==24.2
9178
# via
9279
# black
9380
# build
9481
# pytest
9582
pathspec==0.12.1
9683
# via black
97-
pip-tools==7.3.0
84+
pip-tools==7.4.1
9885
# via -r requirements/dev.in
99-
pkginfo==1.9.6
86+
pkginfo==1.10.0
10087
# via twine
101-
platformdirs==4.1.0
88+
platformdirs==4.3.6
10289
# via
10390
# black
10491
# virtualenv
105-
pluggy==1.3.0
92+
pluggy==1.5.0
10693
# via pytest
107-
pre-commit==3.5.0
94+
pre-commit==4.0.1
10895
# via -r requirements/dev.in
109-
pycparser==2.21
96+
pycparser==2.22
11097
# via cffi
111-
pydantic==2.5.2
98+
pydantic==2.9.2
11299
# via -r requirements/dev.in
113-
pydantic-core==2.14.5
100+
pydantic-core==2.23.4
114101
# via pydantic
115-
pygments==2.17.2
102+
pygments==2.18.0
116103
# via
117104
# readme-renderer
118105
# rich
119-
pyproject-hooks==1.0.0
120-
# via build
121-
pytest==7.4.3
106+
pyproject-hooks==1.2.0
107+
# via
108+
# build
109+
# pip-tools
110+
pytest==8.3.3
122111
# via
123112
# -r requirements/dev.in
124113
# pytest-cov
125114
# pytest-socket
126115
# pytest-timeout
127-
pytest-cov==4.1.0
116+
pytest-cov==6.0.0
128117
# via -r requirements/dev.in
129-
pytest-socket==0.6.0
118+
pytest-socket==0.7.0
130119
# via -r requirements/dev.in
131-
pytest-timeout==2.2.0
120+
pytest-timeout==2.3.1
132121
# via -r requirements/dev.in
133-
pyyaml==6.0.1
122+
pyyaml==6.0.2
134123
# via pre-commit
135-
readme-renderer==42.0
124+
readme-renderer==44.0
136125
# via twine
137-
requests==2.31.0
126+
requests==2.32.3
138127
# via
139128
# requests-toolbelt
140129
# twine
141130
requests-toolbelt==1.0.0
142131
# via twine
143132
rfc3986==2.0.0
144133
# via twine
145-
rich==13.7.0
134+
rich==13.9.4
146135
# via
147136
# -r requirements/dev.in
148137
# twine
149138
secretstorage==3.3.3
150139
# via keyring
151-
tomli==2.0.1
140+
tomli==2.1.0
152141
# via
153142
# black
154143
# build
155144
# coverage
156145
# pip-tools
157-
# pyproject-hooks
158146
# pytest
159-
twine==4.0.2
147+
twine==5.1.1
160148
# via -r requirements/dev.in
161-
typing-extensions==4.9.0
149+
typing-extensions==4.12.2
162150
# via
163-
# annotated-types
164151
# black
165152
# pydantic
166153
# pydantic-core
167154
# rich
168-
urllib3==2.1.0
155+
urllib3==2.2.3
169156
# via
170157
# requests
171158
# twine
172-
virtualenv==20.25.0
159+
virtualenv==20.27.1
173160
# via pre-commit
174-
wheel==0.42.0
161+
wheel==0.45.0
175162
# via
176163
# -r requirements/dev.in
177164
# pip-tools
178-
yarl==1.9.4
179-
# via aiohttp
180-
zipp==3.17.0
181-
# via
182-
# importlib-metadata
183-
# importlib-resources
165+
zipp==3.21.0
166+
# via importlib-metadata
184167

185168
# The following packages are considered to be unsafe in a requirements file:
186169
# pip

0 commit comments

Comments
 (0)