From 2be17611cd9787c5e2a3e03c250e7161d03d73ba Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 4 Jun 2024 08:18:23 +0200 Subject: [PATCH] chore(deps): pre-commit.ci autoupdate (#27) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): pre-commit.ci autoupdate updates: - [github.com/tcort/markdown-link-check: v3.11.2 → v3.12.2](https://github.com/tcort/markdown-link-check/compare/v3.11.2...v3.12.2) - https://github.com/charliermarsh/ruff-pre-commit → https://github.com/astral-sh/ruff-pre-commit - [github.com/astral-sh/ruff-pre-commit: v0.4.4 → v0.4.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.4...v0.4.7) - [github.com/PyCQA/pylint: v3.2.0 → v3.2.2](https://github.com/PyCQA/pylint/compare/v3.2.0...v3.2.2) - [github.com/python-jsonschema/check-jsonschema: 0.28.3 → 0.28.4](https://github.com/python-jsonschema/check-jsonschema/compare/0.28.3...0.28.4) - [github.com/crate-ci/typos: v1.21.0 → v1.22.0](https://github.com/crate-ci/typos/compare/v1.21.0...v1.22.0) * style: pre-commit.ci fixes --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 12 ++++++------ docs/chapter/materials.adoc | 2 +- tools/sel_tools/code_evaluation/jobs/sel.py | 4 +--- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ff3d600..60e83a2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -56,7 +56,7 @@ repos: - mdformat-config - mdformat-toc - repo: https://github.com/tcort/markdown-link-check - rev: v3.11.2 + rev: v3.12.2 hooks: - id: markdown-link-check args: ["--quiet", "--config", ".md-link-config.json"] @@ -97,8 +97,8 @@ repos: - id: cmake-lint additional_dependencies: [cmakelang] exclude: cmake/.* - - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.4.4 + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.4.7 hooks: - id: ruff - id: ruff-format @@ -116,7 +116,7 @@ repos: - id: mypy args: [--python-version, '3.10'] - repo: https://github.com/PyCQA/pylint - rev: v3.2.0 + rev: v3.2.2 hooks: - id: pylint - repo: https://github.com/asottile/pyupgrade @@ -129,10 +129,10 @@ repos: hooks: - id: shellcheck - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.28.3 + rev: 0.28.4 hooks: - id: check-github-workflows - repo: https://github.com/crate-ci/typos - rev: v1.21.0 + rev: v1.22.0 hooks: - id: typos diff --git a/docs/chapter/materials.adoc b/docs/chapter/materials.adoc index c9d1f71..a0f52b6 100644 --- a/docs/chapter/materials.adoc +++ b/docs/chapter/materials.adoc @@ -10,7 +10,7 @@ The lecture slides are generated from {url-slides}[markdown files]. | Example | link:example/slide-deck.html[Dark] | link:example/slide-deck.pdf[Dark PDF] | link:example/slide-deck-light.html[Light] | link:example/slide-deck-light.pdf[Light PDF] | link:export/example.zip[ZIP] | link:export/example_solution.zip[ZIP] |=== -== Homeworks +== Homework [NOTE] ==== diff --git a/tools/sel_tools/code_evaluation/jobs/sel.py b/tools/sel_tools/code_evaluation/jobs/sel.py index 56c61b0..700481b 100644 --- a/tools/sel_tools/code_evaluation/jobs/sel.py +++ b/tools/sel_tools/code_evaluation/jobs/sel.py @@ -28,9 +28,7 @@ class ExampleEvaluationJobFactory(EvaluationJobFactory): """Example Evaluation Job Factory.""" @staticmethod - def create( - gitlab_projects: list[GitlabProject], homework_number: int - ) -> list[EvaluationJob]: + def create(gitlab_projects: list[GitlabProject], homework_number: int) -> list[EvaluationJob]: homework_evaluations_jobs_map = { 1: [CleanRepoJob(), CMakeBuildJob(), ExampleJob()], 2: [CleanRepoJob(), MakeTestJob(), CIStatusTestJob(gitlab_projects)],