From 4f0576ba27f4492abb5d0b8172825b2a5768ca8e Mon Sep 17 00:00:00 2001 From: Brian Rosner Date: Tue, 2 Jul 2024 19:09:14 -0500 Subject: [PATCH] remove precommit --- .github/workflows/ci.yml | 7 +++---- .pre-commit-config.yaml | 13 ------------- 2 files changed, 3 insertions(+), 17 deletions(-) delete mode 100644 .pre-commit-config.yaml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7970ae6..619d151 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,14 +12,13 @@ env: jobs: pre-commit: - name: Static Analysis (pre-commit) + name: Static Analysis runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: chartboost/ruff-action@v1 with: - python-version: "3.12" - - uses: pre-commit/action@v3.0.1 + args: format --check tests: name: Tests runs-on: ubuntu-latest diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index 2d8ee50..0000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -1,13 +0,0 @@ -repos: - - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.4 - hooks: - - id: ruff - args: [ --fix, --select, I ] - - id: ruff-format - - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.10.0 - hooks: - - id: mypy - additional_dependencies: - - alembic==1.13.1