Skip to content

Commit

Permalink
make maint
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas-C committed Nov 15, 2024
1 parent bff4b8e commit 85182e4
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 144 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ repos:
- id: blacken-docs
additional_dependencies: [black==22.1.0]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.2
rev: v0.7.4
hooks:
- id: ruff
args: ['--fix']
Expand Down
7 changes: 1 addition & 6 deletions pdfly/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ def compress(
output: Annotated[
Path,
typer.Argument(
exists=False,
writable=True,
),
],
Expand All @@ -211,18 +210,14 @@ def uncompress(
pdf: Annotated[
Path,
typer.Argument(
exists=True,
file_okay=True,
dir_okay=False,
writable=False,
readable=True,
exists=True,
resolve_path=True,
),
],
output: Annotated[
Path,
typer.Argument(
exists=False,
writable=True,
),
],
Expand Down
50 changes: 15 additions & 35 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,79 +1,59 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile requirements/ci.in
#
aiohttp==3.9.1
# via black
aiosignal==1.3.1
# via aiohttp
astor==0.8.1
# via flake8-simplify
async-timeout==4.0.3
# via aiohttp
attrs==23.1.0
# via
# aiohttp
# flake8-bugbear
black==23.12.0
attrs==24.2.0
# via flake8-bugbear
black==24.10.0
# via -r requirements/ci.in
click==8.1.7
# via black
flake8==6.1.0
flake8==7.1.1
# via
# -r requirements/ci.in
# flake8-bugbear
# flake8-comprehensions
# flake8-isort
# flake8-simplify
flake8-bugbear==23.12.2
flake8-bugbear==24.10.31
# via -r requirements/ci.in
flake8-comprehensions==3.14.0
flake8-comprehensions==3.16.0
# via -r requirements/ci.in
flake8-isort==6.1.1
# via -r requirements/ci.in
flake8-simplify==0.21.0
# via -r requirements/ci.in
frozenlist==1.4.1
# via
# aiohttp
# aiosignal
idna==3.6
# via yarl
isort==5.13.2
# via flake8-isort
mccabe==0.7.0
# via flake8
multidict==6.0.4
# via
# aiohttp
# yarl
mypy==1.7.1
mypy==1.13.0
# via -r requirements/ci.in
mypy-extensions==1.0.0
# via
# black
# mypy
packaging==23.2
packaging==24.2
# via black
pathspec==0.12.1
# via black
platformdirs==4.1.0
platformdirs==4.3.6
# via black
pycodestyle==2.11.1
pycodestyle==2.12.1
# via flake8
pyflakes==3.1.0
pyflakes==3.2.0
# via flake8
ruff==0.1.8
ruff==0.7.4
# via -r requirements/ci.in
tomli==2.0.1
tomli==2.1.0
# via
# black
# mypy
typing-extensions==4.9.0
typing-extensions==4.12.2
# via
# black
# mypy
yarl==1.9.4
# via aiohttp
137 changes: 60 additions & 77 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,186 +1,169 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile requirements/dev.in
#
aiohttp==3.9.1
# via black
aiosignal==1.3.1
# via aiohttp
annotated-types==0.6.0
annotated-types==0.7.0
# via pydantic
async-timeout==4.0.3
# via aiohttp
attrs==23.1.0
# via aiohttp
black==23.12.0
backports-tarfile==1.2.0
# via jaraco-context
black==24.10.0
# via -r requirements/dev.in
build==1.0.3
build==1.2.2.post1
# via pip-tools
certifi==2023.11.17
certifi==2024.8.30
# via requests
cffi==1.16.0
cffi==1.17.1
# via cryptography
cfgv==3.4.0
# via pre-commit
charset-normalizer==3.3.2
charset-normalizer==3.4.0
# via requests
click==8.1.7
# via
# black
# pip-tools
coverage[toml]==7.3.3
coverage[toml]==7.6.6
# via
# coverage
# pytest-cov
cryptography==41.0.7
cryptography==43.0.3
# via secretstorage
distlib==0.3.8
distlib==0.3.9
# via virtualenv
docutils==0.20.1
docutils==0.21.2
# via readme-renderer
exceptiongroup==1.2.0
exceptiongroup==1.2.2
# via pytest
filelock==3.13.1
filelock==3.16.1
# via virtualenv
frozenlist==1.4.1
# via
# aiohttp
# aiosignal
identify==2.5.33
identify==2.6.2
# via pre-commit
idna==3.6
# via
# requests
# yarl
importlib-metadata==7.0.0
idna==3.10
# via requests
importlib-metadata==8.5.0
# via
# build
# keyring
# twine
importlib-resources==6.1.1
# via keyring
iniconfig==2.0.0
# via pytest
jaraco-classes==3.3.0
jaraco-classes==3.4.0
# via keyring
jaraco-context==6.0.1
# via keyring
jaraco-functools==4.1.0
# via keyring
jeepney==0.8.0
# via
# keyring
# secretstorage
keyring==24.3.0
keyring==25.5.0
# via twine
markdown-it-py==3.0.0
# via rich
mdurl==0.1.2
# via markdown-it-py
more-itertools==10.1.0
# via jaraco-classes
multidict==6.0.4
more-itertools==10.5.0
# via
# aiohttp
# yarl
# jaraco-classes
# jaraco-functools
mypy-extensions==1.0.0
# via black
nh3==0.2.15
nh3==0.2.18
# via readme-renderer
nodeenv==1.8.0
nodeenv==1.9.1
# via pre-commit
packaging==23.2
packaging==24.2
# via
# black
# build
# pytest
pathspec==0.12.1
# via black
pip-tools==7.3.0
pip-tools==7.4.1
# via -r requirements/dev.in
pkginfo==1.9.6
pkginfo==1.10.0
# via twine
platformdirs==4.1.0
platformdirs==4.3.6
# via
# black
# virtualenv
pluggy==1.3.0
pluggy==1.5.0
# via pytest
pre-commit==3.5.0
pre-commit==4.0.1
# via -r requirements/dev.in
pycparser==2.21
pycparser==2.22
# via cffi
pydantic==2.5.2
pydantic==2.9.2
# via -r requirements/dev.in
pydantic-core==2.14.5
pydantic-core==2.23.4
# via pydantic
pygments==2.17.2
pygments==2.18.0
# via
# readme-renderer
# rich
pyproject-hooks==1.0.0
# via build
pytest==7.4.3
pyproject-hooks==1.2.0
# via
# build
# pip-tools
pytest==8.3.3
# via
# -r requirements/dev.in
# pytest-cov
# pytest-socket
# pytest-timeout
pytest-cov==4.1.0
pytest-cov==6.0.0
# via -r requirements/dev.in
pytest-socket==0.6.0
pytest-socket==0.7.0
# via -r requirements/dev.in
pytest-timeout==2.2.0
pytest-timeout==2.3.1
# via -r requirements/dev.in
pyyaml==6.0.1
pyyaml==6.0.2
# via pre-commit
readme-renderer==42.0
readme-renderer==44.0
# via twine
requests==2.31.0
requests==2.32.3
# via
# requests-toolbelt
# twine
requests-toolbelt==1.0.0
# via twine
rfc3986==2.0.0
# via twine
rich==13.7.0
rich==13.9.4
# via
# -r requirements/dev.in
# twine
secretstorage==3.3.3
# via keyring
tomli==2.0.1
tomli==2.1.0
# via
# black
# build
# coverage
# pip-tools
# pyproject-hooks
# pytest
twine==4.0.2
twine==5.1.1
# via -r requirements/dev.in
typing-extensions==4.9.0
typing-extensions==4.12.2
# via
# annotated-types
# black
# pydantic
# pydantic-core
# rich
urllib3==2.1.0
urllib3==2.2.3
# via
# requests
# twine
virtualenv==20.25.0
virtualenv==20.27.1
# via pre-commit
wheel==0.42.0
wheel==0.45.0
# via
# -r requirements/dev.in
# pip-tools
yarl==1.9.4
# via aiohttp
zipp==3.17.0
# via
# importlib-metadata
# importlib-resources
zipp==3.21.0
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
Loading

0 comments on commit 85182e4

Please sign in to comment.