From a112ff1bb1388665cff262c6fc2dde9724870bcf Mon Sep 17 00:00:00 2001 From: Alex Tong Date: Thu, 23 Nov 2023 15:02:28 -0500 Subject: [PATCH] Attempting to fix pre-commit problems --- .github/workflows/code-quality-main.yaml | 5 +++++ .github/workflows/code-quality-pr.yaml | 5 +++++ setup.py | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/code-quality-main.yaml b/.github/workflows/code-quality-main.yaml index ce95976..b9dd3af 100644 --- a/.github/workflows/code-quality-main.yaml +++ b/.github/workflows/code-quality-main.yaml @@ -20,5 +20,10 @@ jobs: with: python-version: "3.10" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -e . + - name: Run pre-commits uses: pre-commit/action@v2.0.3 diff --git a/.github/workflows/code-quality-pr.yaml b/.github/workflows/code-quality-pr.yaml index c8a2e5f..20aef2e 100644 --- a/.github/workflows/code-quality-pr.yaml +++ b/.github/workflows/code-quality-pr.yaml @@ -26,6 +26,11 @@ jobs: with: python-version: "3.10" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -e . + - name: Find modified files id: file_changes uses: trilom/file-changes-action@v1.2.4 diff --git a/setup.py b/setup.py index 5b37d9b..7e958d4 100644 --- a/setup.py +++ b/setup.py @@ -35,5 +35,5 @@ license="MIT", long_description=readme, long_description_content_type="text/markdown", - packages=find_packages(exclude=['tests', 'tests.*']), + packages=find_packages(exclude=["tests", "tests.*"]), )