File tree Expand file tree Collapse file tree 8 files changed +80
-199
lines changed Expand file tree Collapse file tree 8 files changed +80
-199
lines changed Original file line number Diff line number Diff line change 2323 with :
2424 python-version-file : " .python-version"
2525 - name : Set up uv
26- uses : astral-sh/setup-uv@v6
26+ uses : astral-sh/setup-uv@v7
2727 with :
2828 enable-cache : true
2929 version-file : " pyproject.toml"
Original file line number Diff line number Diff line change 2323 with :
2424 python-version-file : " .python-version"
2525 - name : Set up uv
26- uses : astral-sh/setup-uv@v6
26+ uses : astral-sh/setup-uv@v7
2727 with :
2828 enable-cache : true
2929 version-file : " pyproject.toml"
Original file line number Diff line number Diff line change 22 skip : [pytest]
33
44default_language_version :
5- python : python3.13
5+ python : python3.14
66
77repos :
88 # general checks (see here: https://pre-commit.com/hooks.html)
1616
1717 # ruff - linting + formatting
1818 - repo : https://github.com/astral-sh/ruff-pre-commit
19- rev : v0.13.3
19+ rev : v0.14.4
2020 hooks :
2121 - id : ruff
2222 name : ruff
@@ -30,26 +30,6 @@ repos:
3030 - id : mypy
3131 name : mypy
3232
33- # docformatter - formats docstrings to follow PEP 257
34- - repo : https://github.com/pycqa/docformatter
35- rev : v1.7.7
36- hooks :
37- - id : docformatter
38- name : docformatter
39- args :
40- [
41- -r,
42- -i,
43- --pre-summary-newline,
44- --make-summary-multi-line,
45- --wrap-summaries,
46- " 90" ,
47- --wrap-descriptions,
48- " 90" ,
49- src,
50- tests,
51- ]
52-
5333 # bandit - find common security issues
5434 - repo : https://github.com/pycqa/bandit
5535 rev : 1.8.6
Original file line number Diff line number Diff line change 1- 3.13.7
1+ 3.14.0
Original file line number Diff line number Diff line change 1- FROM python:3.13.7 -slim-trixie AS python-base
1+ FROM python:3.14.0 -slim-trixie AS python-base
22
33ENV PYTHONUNBUFFERED=1 \
44 PYTHONDONTWRITEBYTECODE=1 \
@@ -9,7 +9,7 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
99
1010FROM python-base AS builder-base
1111
12- COPY --from=ghcr.io/astral-sh/uv:0.8.24 /uv /uvx /bin/
12+ COPY --from=ghcr.io/astral-sh/uv:0.9.9 /uv /uvx /bin/
1313
1414WORKDIR $WORKDIR_PATH
1515
Original file line number Diff line number Diff line change 3131
3232## Prerequisites
3333
34- - [ Python] ( https://www.python.org/downloads/ ) ** >=3.13 .0 <3.14 .0** (_ tested with 3.13.7 _ )
34+ - [ Python] ( https://www.python.org/downloads/ ) ** >=3.14 .0 <3.15 .0** (_ tested with 3.14.0 _ )
3535- [ pre-commit] ( https://pre-commit.com/#install ) ** >=3.2.0 <5.0.0** (_ tested with 4.3.0_ )
36- - [ uv] ( https://docs.astral.sh/uv/getting-started/installation/ ) ** >=0.8.12 ** (_ tested with 0.8.24 _ )
36+ - [ uv] ( https://docs.astral.sh/uv/getting-started/installation/ ) ** >=0.9.0 ** (_ tested with 0.9.9 _ )
3737- [ docker] ( https://docs.docker.com/get-docker/ ) (_ optional_ )
3838
3939---
@@ -120,13 +120,6 @@ Rules are defined in the [`pyproject.toml`](pyproject.toml).
120120
121121For more configuration options and details, see the [ configuration docs] ( https://bandit.readthedocs.io/ ) .
122122
123- ### docformatter
124-
125- [ docformatter] ( https://github.com/PyCQA/docformatter ) is a tool designed to format docstrings to
126- follow [ PEP 257] ( https://peps.python.org/pep-0257/ ) .
127-
128- Options are defined in the [ ` .pre-commit-config.yaml ` ] ( .pre-commit-config.yaml ) .
129-
130123---
131124
132125## Testing
@@ -166,7 +159,7 @@ collected 1 item
166159
167160tests/test_python_boilerplate.py::test_hello_world PASSED
168161
169- ---------- coverage: platform linux, python 3.13.7 -final-0 -----------
162+ ---------- coverage: platform linux, python 3.14.0 -final-0 -----------
170163Name Stmts Miss Cover
171164--------------------------------------------------------
172165src/python_boilerplate/__init__.py 1 0 100%
Original file line number Diff line number Diff line change 22name = " python-boilerplate"
33version = " 0.1.0"
44description = " Python boilerplate"
5- requires-python = " >=3.13 "
5+ requires-python = " >=3.14 "
66license = { file = " LICENSE" }
77authors = [
88 { name = " Samuel MARLHENS" , email = " samuel.marlhens@proton.me" },
@@ -14,21 +14,20 @@ homepage = "https://github.com/smarlhens/python-boilerplate#readme"
1414repository = " https://github.com/smarlhens/python-boilerplate"
1515
1616[build-system ]
17- requires = [" uv_build>=0.8.12 ,<0.9 .0" ]
17+ requires = [" uv_build>=0.9.0 ,<0.10 .0" ]
1818build-backend = " uv_build"
1919
2020[dependency-groups ]
2121dev = [
22- " pytest>=8.4.2 " ,
22+ " pytest>=9.0.1 " ,
2323 " pytest-cov>=7.0.0" ,
2424 " mypy>=1.18.2" ,
2525 " bandit>=1.8.6" ,
26- " docformatter>=1.7.7" ,
27- " ruff>=0.13.3" ,
26+ " ruff>=0.14.4" ,
2827]
2928
3029[tool .uv ]
31- required-version = " 0.8.24 "
30+ required-version = " >=0.9.0 "
3231
3332[tool .pytest .ini_options ]
3433addopts = " -vvv"
@@ -40,7 +39,7 @@ extend-exclude = [
4039 " build" ,
4140 " dist" ,
4241]
43- target-version = " py313 "
42+ target-version = " py314 "
4443line-length = 90
4544src = [" src" , " tests" ]
4645
@@ -99,6 +98,9 @@ extend-select = [
9998 " W" ,
10099]
101100
101+ [tool .ruff .lint .pydocstyle ]
102+ convention = " pep257"
103+
102104[tool .ruff .lint .per-file-ignores ]
103105"tests/*.py" = [" S101" ]
104106
You can’t perform that action at this time.
0 commit comments