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 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