File tree Expand file tree Collapse file tree 5 files changed +115
-114
lines changed
Expand file tree Collapse file tree 5 files changed +115
-114
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -19,14 +19,15 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
1919
2020WORKDIR /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
2728ENV PATH="/app/.venv/bin:$PATH"
2829
29- USER app
30+ USER nonroot
3031
3132ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh" ]
3233CMD ["app.main" ]
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ dependencies = [
2020
2121[dependency-groups ]
2222dev = [
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 ]
Original file line number Diff line number Diff line change 33-e .
44cfgv == 3.4.0
55 # via pre-commit
6- coverage == 7.12 .0
6+ coverage == 7.13 .0
77distlib == 0.3.9
88 # via virtualenv
99filelock == 3.16.1
1010 # via virtualenv
1111identify == 2.6.4
1212 # via pre-commit
13- librt == 0.7.3
13+ librt == 0.7.3 ; platform_python_implementation != 'PyPy'
1414 # via mypy
1515mimesis == 18.0.0
1616 # via python-boilerplate
17- mypy == 1.19.0
17+ mypy == 1.19.1
1818mypy-extensions == 1.0.0
1919 # via mypy
2020nodeenv == 1.9.1
@@ -23,10 +23,10 @@ pathspec==0.12.1
2323 # via mypy
2424platformdirs == 4.3.6
2525 # via virtualenv
26- pre-commit == 4.5.0
26+ pre-commit == 4.5.1
2727pyyaml == 6.0.2
2828 # via pre-commit
29- ruff == 0.14.8
29+ ruff == 0.14.10
3030typing-extensions == 4.12.2
3131 # via mypy
3232virtualenv == 20.28.1
You can’t perform that action at this time.
0 commit comments