Skip to content

Chore/update deps #109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 7, 2025
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/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main

env:
UV_VERSION: "0.4.27"
UV_VERSION: "0.5.15"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- "**"

env:
UV_VERSION: "0.4.27"
UV_VERSION: "0.5.15"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down
9 changes: 5 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repos:

# ruff - linting + formatting
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.7.1"
rev: "v0.8.6"
hooks:
- id: ruff
name: ruff
Expand All @@ -25,14 +25,15 @@ repos:

# mypy - lint-like type checking
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
rev: v1.14.1
hooks:
- id: mypy
name: mypy

# docformatter - formats docstrings to follow PEP 257
- repo: https://github.com/pycqa/docformatter
rev: v1.7.5
# todo: replace when >v1.7.5 will be published
rev: 06907d0267368b49b9180eed423fae5697c1e909
hooks:
- id: docformatter
name: docformatter
Expand All @@ -52,7 +53,7 @@ repos:

# bandit - find common security issues
- repo: https://github.com/pycqa/bandit
rev: 1.7.10
rev: 1.8.0
hooks:
- id: bandit
name: bandit
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.13.0
3.13.1
2 changes: 1 addition & 1 deletion .renovaterc.json5
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [
"config:base",
"config:recommended",
"schedule:daily",
"group:all",
":prConcurrentLimitNone",
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.13.0-slim-bookworm AS python-base
FROM python:3.13.1-slim-bookworm AS python-base

ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
Expand All @@ -9,7 +9,7 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH"

FROM python-base AS builder-base

COPY --from=ghcr.io/astral-sh/uv:0.4.27 /uv /bin/uv
COPY --from=ghcr.io/astral-sh/uv:0.5.15 /uv /bin/uv

WORKDIR $WORKDIR_PATH

Expand Down
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@

## Prerequisites

- [Python](https://www.python.org/downloads/) **>=3.13.0 <3.14.0** (_tested with 3.13.0_)
- [pre-commit](https://pre-commit.com/#install) **>=3.2.0 <4.0.0** (_tested with 3.8.0_)
- [uv](https://docs.astral.sh/uv/getting-started/installation/) **>=0.4.27** (_tested with 0.4.27_)
- [Python](https://www.python.org/downloads/) **>=3.13.0 <3.14.0** (_tested with 3.13.1_)
- [pre-commit](https://pre-commit.com/#install) **>=3.2.0 <5.0.0** (_tested with 4.0.1_)
- [uv](https://docs.astral.sh/uv/getting-started/installation/) **>=0.5.7** (_tested with 0.5.15_)
- [docker](https://docs.docker.com/get-docker/) (_optional_)

---
Expand Down Expand Up @@ -64,6 +64,14 @@
pre-commit install
```

5. Configure Python environment

```bash
uv python install
uv venv
source .venv/bin/activate
```

---

## What's in the box ?
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ build-backend = "hatchling.build"
dev = [
"pytest>=8.3.3",
"pytest-cov>=5.0.0",
"mypy>=1.13.0",
"bandit>=1.7.10",
"mypy>=1.14.1",
"bandit>=1.8.0",
"docformatter>=1.7.5",
"ruff>=0.7.1",
"ruff>=0.8.6",
]

[tool.pytest.ini_options]
Expand All @@ -37,7 +37,7 @@ extend-exclude = [
"build",
"dist",
]
target-version = "py312"
target-version = "py313"
line-length = 90
src = ["src", "tests"]

Expand Down
73 changes: 37 additions & 36 deletions uv.lock

Large diffs are not rendered by default.