Skip to content

Commit a5c6937

Browse files
[pre-commit.ci] pre-commit autoupdate (#47)
1 parent aecc937 commit a5c6937

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.pre-commit-config.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ exclude: |
55
66
repos:
77
- repo: https://github.com/pre-commit/pre-commit-hooks
8-
rev: v4.6.0
8+
rev: v5.0.0
99
hooks:
1010
- id: check-added-large-files
1111
args: ['--maxkb=25']
@@ -35,11 +35,11 @@ repos:
3535
- id: python-use-type-annotations
3636
- id: text-unicode-replacement-char
3737
- repo: https://github.com/aio-libs/sort-all
38-
rev: v1.2.0
38+
rev: v1.3.0
3939
hooks:
4040
- id: sort-all
4141
- repo: https://github.com/astral-sh/ruff-pre-commit
42-
rev: v0.4.4
42+
rev: v0.8.4
4343
hooks:
4444
- id: ruff
4545
args: [--config, pyproject.toml, hooks, tests]
@@ -52,7 +52,7 @@ repos:
5252
- id: refurb
5353
exclude: ({{cookiecutter.project_slug}})
5454
- repo: https://github.com/executablebooks/mdformat
55-
rev: 0.7.17
55+
rev: 0.7.21
5656
hooks:
5757
- id: mdformat
5858
additional_dependencies: [
@@ -66,7 +66,7 @@ repos:
6666
{{cookiecutter.project_slug}}/README.md
6767
)$
6868
- repo: https://github.com/executablebooks/mdformat
69-
rev: 0.7.17
69+
rev: 0.7.21
7070
hooks:
7171
- id: mdformat
7272
additional_dependencies: [
@@ -76,12 +76,12 @@ repos:
7676
args: [--wrap, "88"]
7777
files: (docs/.)
7878
- repo: https://github.com/codespell-project/codespell
79-
rev: v2.2.6
79+
rev: v2.3.0
8080
hooks:
8181
- id: codespell
8282
additional_dependencies: [tomli]
8383
- repo: https://github.com/pre-commit/mirrors-mypy
84-
rev: 'v1.10.0'
84+
rev: 'v1.14.0'
8585
hooks:
8686
- id: mypy
8787
pass_filenames: false

tests/test_cookie.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
_PYTHON_VERSION = ".".join(map(str, sys.version_info[:2]))
88

99

10-
@pytest.mark.end_to_end()
10+
@pytest.mark.end_to_end
1111
def test_bake_project(cookies):
1212
result = cookies.bake(
1313
extra_context={"project_slug": "helloworld", "python_version": _PYTHON_VERSION},
@@ -19,7 +19,7 @@ def test_bake_project(cookies):
1919
assert result.project_path.is_dir()
2020

2121

22-
@pytest.mark.end_to_end()
22+
@pytest.mark.end_to_end
2323
def test_remove_readthedocs(cookies):
2424
result = cookies.bake(
2525
extra_context={
@@ -38,7 +38,7 @@ def test_remove_readthedocs(cookies):
3838
assert "readthedocs" not in readme
3939

4040

41-
@pytest.mark.end_to_end()
41+
@pytest.mark.end_to_end
4242
def test_remove_github_actions(cookies):
4343
result = cookies.bake(
4444
extra_context={"add_github_actions": "no", "python_version": _PYTHON_VERSION},
@@ -54,7 +54,7 @@ def test_remove_github_actions(cookies):
5454
assert "github/workflow/status" not in readme
5555

5656

57-
@pytest.mark.end_to_end()
57+
@pytest.mark.end_to_end
5858
def test_remove_tox(cookies):
5959
result = cookies.bake(
6060
extra_context={"add_tox": "no", "python_version": _PYTHON_VERSION},
@@ -70,7 +70,7 @@ def test_remove_tox(cookies):
7070
assert not tox.exists()
7171

7272

73-
@pytest.mark.end_to_end()
73+
@pytest.mark.end_to_end
7474
def test_remove_license(cookies):
7575
result = cookies.bake(
7676
extra_context={
@@ -87,7 +87,7 @@ def test_remove_license(cookies):
8787
assert not license_.exists()
8888

8989

90-
@pytest.mark.end_to_end()
90+
@pytest.mark.end_to_end
9191
@pytest.mark.skipif(os.environ.get("CI") is None, reason="Run only in CI.")
9292
def test_check_pixi_and_run_all_checks(cookies):
9393
"""Test pixi and pre-commit passes."""

0 commit comments

Comments
 (0)