File tree Expand file tree Collapse file tree 8 files changed +174
-157
lines changed
Expand file tree Collapse file tree 8 files changed +174
-157
lines changed Original file line number Diff line number Diff line change 66 - main
77
88env :
9- UV_VERSION : " 0.5.15 "
9+ UV_VERSION : " 0.6.5 "
1010
1111concurrency :
1212 group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Original file line number Diff line number Diff line change 66 - " **"
77
88env :
9- UV_VERSION : " 0.5.15 "
9+ UV_VERSION : " 0.6.5 "
1010
1111concurrency :
1212 group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Original file line number Diff line number Diff line change 1616
1717 # ruff - linting + formatting
1818 - repo : https://github.com/astral-sh/ruff-pre-commit
19- rev : " v0.8.6 "
19+ rev : " v0.9.10 "
2020 hooks :
2121 - id : ruff
2222 name : ruff
2525
2626 # mypy - lint-like type checking
2727 - repo : https://github.com/pre-commit/mirrors-mypy
28- rev : v1.14.1
28+ rev : v1.15.0
2929 hooks :
3030 - id : mypy
3131 name : mypy
5353
5454 # bandit - find common security issues
5555 - repo : https://github.com/pycqa/bandit
56- rev : 1.8.0
56+ rev : 1.8.3
5757 hooks :
5858 - id : bandit
5959 name : bandit
Original file line number Diff line number Diff line change 1- 3.13.1
1+ 3.13.2
Original file line number Diff line number Diff line change 1- FROM python:3.13.1 -slim-bookworm AS python-base
1+ FROM python:3.13.2 -slim-bookworm 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.5.15 /uv /bin/uv
12+ COPY --from=ghcr.io/astral-sh/uv:0.6.5 /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.1 _ )
34+ - [ Python] ( https://www.python.org/downloads/ ) ** >=3.13.0 <3.14.0** (_ tested with 3.13.2 _ )
3535- [ pre-commit] ( https://pre-commit.com/#install ) ** >=3.2.0 <5.0.0** (_ tested with 4.0.1_ )
36- - [ uv] ( https://docs.astral.sh/uv/getting-started/installation/ ) ** >=0.5.7 ** (_ tested with 0.5.15 _ )
36+ - [ uv] ( https://docs.astral.sh/uv/getting-started/installation/ ) ** >=0.5.29 ** (_ tested with 0.6.5 _ )
3737- [ docker] ( https://docs.docker.com/get-docker/ ) (_ optional_ )
3838
3939---
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ description = "Python boilerplate"
55requires-python = " >=3.13"
66license = { file = " LICENSE" }
77authors = [
8- { name = " Samuel MARLHENS" , email = " samuel.marlhens@proton.me" },
8+ { name = " Samuel MARLHENS" , email = " samuel.marlhens@proton.me" },
99]
1010readme = { file = " README.md" , content-type = " text/markdown" }
1111
@@ -19,12 +19,12 @@ build-backend = "hatchling.build"
1919
2020[dependency-groups ]
2121dev = [
22- " pytest>=8.3.3 " ,
23- " pytest-cov>=5 .0.0" ,
24- " mypy>=1.14.1 " ,
25- " bandit>=1.8.0 " ,
22+ " pytest>=8.3.5 " ,
23+ " pytest-cov>=6 .0.0" ,
24+ " mypy>=1.15.0 " ,
25+ " bandit>=1.8.3 " ,
2626 " docformatter>=1.7.5" ,
27- " ruff>=0.8.6 " ,
27+ " ruff>=0.9.10 " ,
2828]
2929
3030[tool .pytest .ini_options ]
@@ -33,57 +33,62 @@ testpaths = "tests"
3333
3434[tool .ruff ]
3535extend-exclude = [
36- " __pycache__" ,
37- " build" ,
38- " dist" ,
36+ " __pycache__" ,
37+ " build" ,
38+ " dist" ,
3939]
4040target-version = " py313"
4141line-length = 90
4242src = [" src" , " tests" ]
4343
4444[tool .ruff .lint ]
4545extend-select = [
46- " C4" ,
47- " D200" ,
48- " D201" ,
49- " D204" ,
50- " D205" ,
51- " D206" ,
52- " D210" ,
53- " D211" ,
54- " D213" ,
55- " D300" ,
56- " D400" ,
57- " D402" ,
58- " D403" ,
59- " D404" ,
60- " D419" ,
61- " E" ,
62- " F" ,
63- " G010" ,
64- " I" ,
65- " INP001" ,
66- " N805" ,
67- " PERF101" ,
68- " PERF102" ,
69- " PERF401" ,
70- " PERF402" ,
71- " PGH004" ,
72- " PGH005" ,
73- " PIE794" ,
74- " PIE796" ,
75- " PIE807" ,
76- " PIE810" ,
77- " RET502" ,
78- " RET503" ,
79- " RET504" ,
80- " RET505" ,
81- " RUF015" ,
82- " RUF100" ,
83- " S101" ,
84- " T20" ,
85- " UP" ,
86- " W" ,
46+ " C4" ,
47+ " D200" ,
48+ " D201" ,
49+ " D204" ,
50+ " D205" ,
51+ " D206" ,
52+ " D210" ,
53+ " D211" ,
54+ " D213" ,
55+ " D300" ,
56+ " D400" ,
57+ " D402" ,
58+ " D403" ,
59+ " D404" ,
60+ " D419" ,
61+ " E" ,
62+ " F" ,
63+ " FURB" ,
64+ " G010" ,
65+ " I" ,
66+ " INP001" ,
67+ " N805" ,
68+ " PERF101" ,
69+ " PERF102" ,
70+ " PERF401" ,
71+ " PERF402" ,
72+ " PGH004" ,
73+ " PGH005" ,
74+ " PIE794" ,
75+ " PIE796" ,
76+ " PIE807" ,
77+ " PIE810" ,
78+ " PLR" ,
79+ " RET502" ,
80+ " RET503" ,
81+ " RET504" ,
82+ " RET505" ,
83+ " RUF015" ,
84+ " RUF032" ,
85+ " RUF033" ,
86+ " RUF034" ,
87+ " RUF100" ,
88+ " S101" ,
89+ " T20" ,
90+ " UP" ,
91+ " W" ,
8792]
8893
8994[tool .ruff .lint .per-file-ignores ]
You can’t perform that action at this time.
0 commit comments