Skip to content

Commit 2c6504a

Browse files
authored
Merge branch 'main' into dependabot/github_actions/DavidAnson/markdownlint-cli2-action-19.1.0
2 parents 5ac84eb + 433b404 commit 2c6504a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@ repos:
1818
- --no-sort-keys
1919
- id: trailing-whitespace
2020
- repo: https://github.com/DavidAnson/markdownlint-cli2
21-
rev: 'v0.16.0'
21+
rev: 'v0.17.2'
2222
hooks:
2323
- id: markdownlint-cli2
2424
- repo: https://github.com/psf/black
25-
rev: '24.10.0'
25+
rev: '25.1.0'
2626
hooks:
2727
- id: black
2828
- repo: https://github.com/pre-commit/mirrors-mypy
29-
rev: 'v1.14.0'
29+
rev: 'v1.15.0'
3030
hooks:
3131
- id: mypy
3232
exclude: '^(?:(?!src).)*$'
3333
additional_dependencies:
3434
- types-requests
3535
- repo: https://github.com/astral-sh/ruff-pre-commit
36-
rev: 'v0.8.4'
36+
rev: 'v0.9.10'
3737
hooks:
3838
- id: ruff
3939
args:

tests/test_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010

1111

1212
def test_gitmojis_cli_runs_as_entry_point():
13-
result = subprocess.run(["gitmojis"])
13+
result = subprocess.run(["gitmojis", "--version"])
1414

1515
assert result.returncode == 0
1616

1717

1818
def test_gitmojis_cli_runs_as_python_script():
19-
result = subprocess.run([sys.executable, "-m", "gitmojis"])
19+
result = subprocess.run([sys.executable, "-m", "gitmojis", "--version"])
2020

2121
assert result.returncode == 0
2222

0 commit comments

Comments
 (0)