Skip to content

Commit c10771a

Browse files
committed
Update deps
1 parent baebe9c commit c10771a

File tree

14 files changed

+1168
-874
lines changed

14 files changed

+1168
-874
lines changed

.github/bake.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Docs: https://github.com/EbodShojaei/bake
2+
3+
[formatter]
4+
ensure_final_newline = true
5+
auto_insert_phony_declarations = true

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,12 @@ updates:
2626
open-pull-requests-limit: 10
2727
cooldown:
2828
default-days: 7
29+
30+
- package-ecosystem: github-actions
31+
directory: "/{{cookiecutter.project_name}}"
32+
schedule:
33+
interval: daily
34+
time: "02:00"
35+
open-pull-requests-limit: 10
36+
cooldown:
37+
default-days: 7

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
python-version: ['3.10', '3.11', '3.12', '3.13']
23+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
2424

2525
steps:
2626
- uses: actions/checkout@v6

.pre-commit-config.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,20 @@ repos:
2727
hooks:
2828
- id: shellcheck
2929

30+
- repo: https://github.com/astral-sh/ruff-pre-commit
31+
rev: v0.14.10
32+
hooks:
33+
- id: ruff
34+
args: ["--exit-non-zero-on-fix"]
35+
- id: ruff-format
36+
37+
- repo: https://github.com/EbodShojaei/bake
38+
rev: v1.4.4
39+
hooks:
40+
- id: mbake-format
41+
args: ["--config=.github/bake.toml"]
42+
- id: mbake-validate
43+
3044
- repo: https://github.com/pre-commit/pre-commit-hooks
3145
rev: v6.0.0
3246
hooks:

poetry.lock

Lines changed: 450 additions & 386 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,23 @@ requires = ["poetry-core>=2.0"]
33
build-backend = "poetry.core.masonry.api"
44

55

6-
[project]
6+
[tool.poetry]
77
name = "wemake-python-package"
88
description = "Bleeding edge cookiecutter template to create new python packages"
99
version = "0.1.0"
10-
requires-python = ">=3.10,<3.14"
1110
readme = "README.md"
1211
authors = [
13-
{ name = "Nikita Sobolev", email = "[email protected]" },
12+
"Nikita Sobolev <[email protected]>",
1413
]
1514
license = "MIT"
16-
dynamic = ["dependencies", "classifiers"]
17-
18-
19-
[tool.poetry]
2015
package-mode = false
2116
classifiers = [
2217
"Private :: Do not Upload",
2318
]
2419

2520

2621
[tool.poetry.dependencies]
22+
python = "^3.10"
2723
cookiecutter = "^2.6"
2824
jinja2-git = "^1.4"
2925
lice = "^0.6"
@@ -33,7 +29,7 @@ setuptools = "*"
3329
binaryornot = "^0.4"
3430
tomli = "^2.3"
3531

36-
wemake-python-styleguide = "^1.4"
32+
wemake-python-styleguide = "^1.5"
3733
ruff = "^0.14"
3834

3935
mypy = "^1.19"

tests/test_project_generation.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,14 @@ def test_pyproject_toml(cookies: Cookies, context: dict[str, str]) -> None:
9494
(baked_project.project_path / 'pyproject.toml').read_text(),
9595
)
9696

97-
project = pyproject['project']
9897
poetry = pyproject['tool']['poetry']
9998

100-
assert project['name'] == context['project_name']
101-
assert project['description'] == context['project_description']
102-
assert project['repository'] == 'https://github.com/{}/{}'.format(
99+
assert poetry['name'] == context['project_name']
100+
assert poetry['description'] == context['project_description']
101+
assert poetry['repository'] == 'https://github.com/{}/{}'.format(
103102
context['organization'],
104103
context['project_name'],
105104
)
106-
assert poetry
107105

108106

109107
@pytest.mark.parametrize(
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Docs: https://github.com/EbodShojaei/bake
2+
3+
[formatter]
4+
ensure_final_newline = true
5+
auto_insert_phony_declarations = true

{{cookiecutter.project_name}}/.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
python-version: ['3.10', '3.11', '3.12', '3.13']
23+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
2424

2525
steps:
2626
- uses: actions/checkout@v4

{{cookiecutter.project_name}}/.pre-commit-config.yaml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
repos:
22
- repo: https://github.com/python-jsonschema/check-jsonschema
3-
rev: 0.35.0
3+
rev: 0.36.0
44
hooks:
55
- id: check-dependabot
66
- id: check-github-workflows
77
- id: check-github-actions
88
- id: check-readthedocs
99

1010
- repo: https://github.com/rhysd/actionlint
11-
rev: v1.7.8
11+
rev: v1.7.10
1212
hooks:
1313
- id: actionlint
1414
additional_dependencies:
1515
- "github.com/wasilibs/go-shellcheck/cmd/shellcheck@latest"
1616

1717
- repo: https://github.com/woodruffw/zizmor-pre-commit
18-
rev: v1.16.3
18+
rev: v1.20.0
1919
hooks:
2020
- id: zizmor
2121
args: ["--no-progress", "--fix"]
@@ -26,19 +26,26 @@ repos:
2626
- id: shellcheck
2727
args: ["--severity=style"]
2828
- repo: https://github.com/astral-sh/ruff-pre-commit
29-
rev: v0.14.5
29+
rev: v0.14.10
3030
hooks:
3131
- id: ruff
3232
args: ["--exit-non-zero-on-fix"]
3333
- id: ruff-format
3434

3535
- repo: https://github.com/sphinx-contrib/sphinx-lint
36-
rev: v1.0.1
36+
rev: v1.0.2
3737
hooks:
3838
- id: sphinx-lint
3939
args: ["--enable=all"]
4040
files: ^docs/
4141

42+
- repo: https://github.com/EbodShojaei/bake
43+
rev: v1.4.4
44+
hooks:
45+
- id: mbake-format
46+
args: ["--config=.github/bake.toml"]
47+
- id: mbake-validate
48+
4249
- repo: https://github.com/pre-commit/pre-commit-hooks
4350
rev: v6.0.0
4451
hooks:

0 commit comments

Comments
 (0)