Skip to content

Commit

Permalink
chore: bump deps & update pyproject to follow PEP 735
Browse files Browse the repository at this point in the history
  • Loading branch information
smarlhens committed Oct 26, 2024
1 parent cbbda23 commit 94856da
Show file tree
Hide file tree
Showing 7 changed files with 122 additions and 102 deletions.
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.19"
UV_VERSION: "0.4.27"

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.19"
UV_VERSION: "0.4.27"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down
4 changes: 2 additions & 2 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.6.9"
rev: "v0.7.1"
hooks:
- id: ruff
name: ruff
Expand All @@ -25,7 +25,7 @@ repos:

# mypy - lint-like type checking
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.2
rev: v1.13.0
hooks:
- id: mypy
name: mypy
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.19 /uv /bin/uv
COPY --from=ghcr.io/astral-sh/uv:0.4.27 /uv /bin/uv

WORKDIR $WORKDIR_PATH

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

- [Python](https://www.python.org/downloads/) **>=3.12.3 <3.13.0** (_tested with 3.12.7_)
- [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.19** (_tested with 0.4.19_)
- [uv](https://docs.astral.sh/uv/getting-started/installation/) **>=0.4.27** (_tested with 0.4.27_)
- [docker](https://docs.docker.com/get-docker/) (_optional_)

---
Expand Down
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ repository = "https://github.com/smarlhens/python-boilerplate"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.uv]
dev-dependencies = [
"pytest>=8.3.2",
"pytest-cov>=5.0.0",
"mypy>=1.11.2",
"bandit>=1.7.10",
"docformatter>=1.7.5",
"ruff>=0.6.9",
[dependency-groups]
dev = [
"pytest>=8.3.3",
"pytest-cov>=5.0.0",
"mypy>=1.13.0",
"bandit>=1.7.10",
"docformatter>=1.7.5",
"ruff>=0.7.1",
]

[tool.pytest.ini_options]
Expand Down
196 changes: 108 additions & 88 deletions uv.lock

Large diffs are not rendered by default.

0 comments on commit 94856da

Please sign in to comment.