Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): pre-commit.ci autoupdate #34

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ repos:
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/luminartech/dev-tools
rev: 0.7.0
rev: 0.8.0
hooks:
- id: check-snake-case
- id: check-cpp-and-cu-unit-test-naming-pattern
Expand All @@ -51,7 +51,7 @@ repos:
- id: check-shellscript-set-options
- id: check-non-existing-and-duplicate-excludes
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.19
rev: 0.7.22
hooks:
- id: mdformat
exclude: ^slides/
Expand All @@ -62,13 +62,13 @@ repos:
- mdformat-config
- mdformat-toc
- repo: https://github.com/tcort/markdown-link-check
rev: v3.12.2
rev: v3.13.6
hooks:
- id: markdown-link-check
args: ["--quiet", "--config", ".md-link-config.json"]
exclude: ^slides/homework
- repo: https://github.com/google/yamlfmt
rev: v0.14.0
rev: v0.15.0
hooks:
- id: yamlfmt
exclude: |
Expand Down Expand Up @@ -99,7 +99,7 @@ repos:
- id: docformatter
additional_dependencies: [tomli]
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v19.1.4
rev: v19.1.7
hooks:
- id: clang-format
- repo: https://github.com/cpplint/cpplint
Expand All @@ -115,7 +115,7 @@ repos:
additional_dependencies: [cmakelang]
exclude: cmake/.*
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.1
rev: v0.9.4
hooks:
- id: ruff
- id: ruff-format
Expand All @@ -128,16 +128,16 @@ repos:
- flake8-bugbear # Ruff does not implement all of bugbear
- flake8-requirements # Not yet implemented https://github.com/astral-sh/ruff/issues/4100
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
rev: v1.14.1
hooks:
- id: mypy
args: [--python-version, '3.12']
- repo: https://github.com/PyCQA/pylint
rev: v3.3.2
rev: v3.3.4
hooks:
- id: pylint
- repo: https://github.com/asottile/pyupgrade
rev: v3.19.0
rev: v3.19.1
hooks:
- id: pyupgrade
args: [--py312-plus, --keep-runtime-typing]
Expand All @@ -154,10 +154,10 @@ repos:
hooks:
- id: shellcheck
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.30.0
rev: 0.31.1
hooks:
- id: check-github-workflows
- repo: https://github.com/crate-ci/typos
rev: typos-dict-v0.11.37
rev: typos-dict-v0.12.4
hooks:
- id: typos
2 changes: 1 addition & 1 deletion tools/tests/file_export/test_file_content_remover.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def test_file_with_incomplete_block(self) -> None:
self.assertEqual(remove_lines_within_limiters_from_string(file_content), file_content)

def test_file_with_inverted_block(self) -> None:
file_content = f"some\n{EXPORT_END}stuff and " f"some\n{EXPORT_BEGIN}\nmore stuff;\n// comment\n"
file_content = f"some\n{EXPORT_END}stuff and some\n{EXPORT_BEGIN}\nmore stuff;\n// comment\n"
self.assertEqual(remove_lines_within_limiters_from_string(file_content), file_content)

def test_remove_clang_tidy_comment_at_end_of_line(self) -> None:
Expand Down
2 changes: 1 addition & 1 deletion tools/tests/test_gitlab_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def test_evaluate_code_minimal_valid_parameters(self) -> None:

def test_evaluate_code_max_valid_parameters(self) -> None:
args = parse_arguments(
"foo.py evaluate_code -t 123 config_file.json -w workspace " "-n 2 -d 2021 11 15 -e 2021 11 24".split(" ")
"foo.py evaluate_code -t 123 config_file.json -w workspace -n 2 -d 2021 11 15 -e 2021 11 24".split(" ")
)

self.assertEqual(args.student_repo_info_file.file_path, "config_file.json")
Expand Down
Loading