From 9d37a26b324e8b0d288cc4ce69f332cf3c2bccdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Kuku=C4=8Dka?= Date: Mon, 23 Feb 2026 10:52:44 +0100 Subject: [PATCH 1/2] chore: Add Python linting workflow configuration --- .github/workflows/python-lint.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/python-lint.yml diff --git a/.github/workflows/python-lint.yml b/.github/workflows/python-lint.yml new file mode 100644 index 0000000..6bf101f --- /dev/null +++ b/.github/workflows/python-lint.yml @@ -0,0 +1,11 @@ +name: Python Lint (RationAI Standard) +on: + push: + branches: ["master"] + pull_request: + branches: ["master"] + workflow_dispatch: + +jobs: + run: + uses: RationAI/.github/.github/workflows/python-lint.yml@main From 027c2cd7c4f25d7e321d65f06e99b0220398d766 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Kuku=C4=8Dka?= Date: Mon, 23 Feb 2026 09:55:34 +0000 Subject: [PATCH 2/2] chore: gitlab and pre commit --- .gitlab-ci.yml | 10 ---------- .pre-commit-config.yaml | 23 ----------------------- 2 files changed, 33 deletions(-) delete mode 100644 .gitlab-ci.yml delete mode 100644 .pre-commit-config.yaml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index dd211f6..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,10 +0,0 @@ -include: - project: rationai/digital-pathology/templates/ci-templates - file: - - Pytest.gitlab-ci.yml - - Python-Lint.gitlab-ci.yml - -stages: - - lint - - test - diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index ce018d9..0000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -1,23 +0,0 @@ -# See https://pre-commit.com for more information -# See https://pre-commit.com/hooks.html for more hooks -repos: - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 - hooks: - - id: check-yaml - args: [--unsafe] - - - repo: https://github.com/commitizen-tools/commitizen - rev: v3.29.0 - hooks: - - id: commitizen - - - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.4 - hooks: - # Run the linter. - - id: ruff - entry: pdm lint --force-exclude - # Run the formatter. - - id: ruff-format - entry: pdm format --force-exclude