Skip to content

Commit df9416a

Browse files
committed
chore: update dependencies
1 parent 888fb5c commit df9416a

File tree

5 files changed

+115
-114
lines changed

5 files changed

+115
-114
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,22 @@ repos:
2323
- id: trailing-whitespace
2424

2525
- repo: https://github.com/astral-sh/ruff-pre-commit
26-
rev: v0.14.8
26+
rev: v0.14.10
2727
hooks:
2828
- id: ruff
2929
args: ["--fix", "--exit-non-zero-on-fix"]
3030
- id: ruff-format
3131

3232
- repo: https://github.com/pre-commit/mirrors-mypy
33-
rev: v1.19.0
33+
rev: v1.19.1
3434
hooks:
3535
- id: mypy
3636
args: [".", "--ignore-missing-imports"]
3737
language: system
3838
pass_filenames: false
3939

4040
- repo: https://github.com/astral-sh/uv-pre-commit
41-
rev: 0.9.16
41+
rev: 0.9.18
4242
hooks:
4343
- id: uv-lock
4444
- id: uv-export

Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,15 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
1919

2020
WORKDIR /app
2121

22-
RUN useradd -ms /bin/bash app
22+
RUN groupadd -g 65532 nonroot && \
23+
useradd -u 65532 -g 65532 -s /usr/sbin/nologin -m nonroot
2324

24-
COPY --from=builder --chown=app:app /build/docker-entrypoint.sh /usr/local/bin/
25-
COPY --from=builder --chown=app:app /build /app
25+
COPY --from=builder --chown=nonroot:nonroot /build/docker-entrypoint.sh /usr/local/bin/
26+
COPY --from=builder --chown=nonroot:nonroot /build /app
2627

2728
ENV PATH="/app/.venv/bin:$PATH"
2829

29-
USER app
30+
USER nonroot
3031

3132
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
3233
CMD ["app.main"]

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ dependencies = [
2020

2121
[dependency-groups]
2222
dev = [
23-
"coverage==7.12.0",
24-
"mypy==1.19.0",
25-
"pre-commit==4.5.0",
26-
"ruff==0.14.8",
23+
"coverage==7.13.0",
24+
"mypy==1.19.1",
25+
"pre-commit==4.5.1",
26+
"ruff==0.14.10",
2727
]
2828

2929
[tool.hatch.build.targets.wheel]

requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
-e .
44
cfgv==3.4.0
55
# via pre-commit
6-
coverage==7.12.0
6+
coverage==7.13.0
77
distlib==0.3.9
88
# via virtualenv
99
filelock==3.16.1
1010
# via virtualenv
1111
identify==2.6.4
1212
# via pre-commit
13-
librt==0.7.3
13+
librt==0.7.3 ; platform_python_implementation != 'PyPy'
1414
# via mypy
1515
mimesis==18.0.0
1616
# via python-boilerplate
17-
mypy==1.19.0
17+
mypy==1.19.1
1818
mypy-extensions==1.0.0
1919
# via mypy
2020
nodeenv==1.9.1
@@ -23,10 +23,10 @@ pathspec==0.12.1
2323
# via mypy
2424
platformdirs==4.3.6
2525
# via virtualenv
26-
pre-commit==4.5.0
26+
pre-commit==4.5.1
2727
pyyaml==6.0.2
2828
# via pre-commit
29-
ruff==0.14.8
29+
ruff==0.14.10
3030
typing-extensions==4.12.2
3131
# via mypy
3232
virtualenv==20.28.1

0 commit comments

Comments
 (0)