Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
id: setup-python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.13"

- name: Install pre-commit
run: pip install pre-commit
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repos:
rev: v4.4.0
hooks:
- id: check-ast
language_version: python3.10
language_version: python3.13
- id: check-merge-conflict
Comment thread
MarcusDragsten marked this conversation as resolved.
- id: check-case-conflict
- id: check-json
Expand Down Expand Up @@ -35,8 +35,8 @@ repos:
rev: 23.7.0
hooks:
- id: black
language_version: python3.10
args: [--target-version, py310]
language_version: python3.13
args: [--target-version, py312]
files: ^src/.*\.py$
exclude: ^src/dmss_api/

Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10-slim as base
FROM python:3.13-slim AS base
ENV PYTHONUNBUFFERED=1
ENV PYTHONPATH=/code/src
WORKDIR /code
Expand All @@ -14,7 +14,7 @@ RUN pip install --upgrade pip && \

COPY pyproject.toml poetry.lock ./

FROM base as development
FROM base AS development
RUN poetry install
WORKDIR /code/src
COPY src /code/src/
Expand All @@ -23,7 +23,7 @@ COPY .flake8 .bandit ./
RUN chown -R 1000:1000 /code/app/
USER 0

FROM base as prod
FROM base AS prod
RUN poetry install --without dev
WORKDIR /code/src
COPY src /code/src/
Expand Down
Loading