From ad536af172d24ee3843cb7565a5f6cf201f9cb72 Mon Sep 17 00:00:00 2001 From: Naman Sharma Date: Sat, 8 Jun 2024 11:43:40 +0530 Subject: [PATCH] test --- .github/workflows/.pre-commit-config.yaml | 12 ------------ .github/workflows/lint.yaml | 1 + 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 .github/workflows/.pre-commit-config.yaml diff --git a/.github/workflows/.pre-commit-config.yaml b/.github/workflows/.pre-commit-config.yaml deleted file mode 100644 index 84f21bd..0000000 --- a/.github/workflows/.pre-commit-config.yaml +++ /dev/null @@ -1,12 +0,0 @@ -- repo: https://github.com/pycqa/isort - rev: 5.12.0 - hooks: - - id: isort - args: ['--order-by-type', '--length-sort', "--profile", "black", "--filter-files"] - name: isort (python) - - id: isort - name: isort (cython) - types: [cython] - - id: isort - name: isort (pyi) - types: [pyi] \ No newline at end of file diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index e027183..c06048d 100755 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -22,5 +22,6 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install --upgrade pre-commit + python -m pip install --upgrade isort - name: Lint run: pre-commit run --all-files --show-diff-on-failure