From e3598153b3e592b21eed39a6d2bb8c91d3d8ff1e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 18 Dec 2023 18:20:37 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/workflows/run-project-tests.yml | 3 +-- .github/workflows/run-tests.yml | 3 +-- .../user_extension/migrations/0001_initial.py | 1 - .../user_integration/migrations/0001_add_user.py | 1 - .../user_replacement/migrations/0001_initial.py | 1 - src/improved_user/migrations/0001_initial.py | 1 - 6 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/run-project-tests.yml b/.github/workflows/run-project-tests.yml index 2fb84fb..f5f7742 100644 --- a/.github/workflows/run-project-tests.yml +++ b/.github/workflows/run-project-tests.yml @@ -43,8 +43,7 @@ jobs: uses: actions/cache@v2 with: path: ${{ steps.pip-cache.outputs.dir }} - key: - ${{ runner.os }}-pip-${{ matrix.django-version }}-${{ + key: ${{ runner.os }}-pip-${{ matrix.django-version }}-${{ hashFiles('**/requirements.txt') }} restore-keys: | ${{ runner.os }}-pip- diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 9a84c45..ae40e83 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -38,8 +38,7 @@ jobs: uses: actions/cache@v2 with: path: ${{ steps.pip-cache.outputs.dir }} - key: - ${{ runner.os }}-pip-${{ matrix.django-version }}-${{ + key: ${{ runner.os }}-pip-${{ matrix.django-version }}-${{ hashFiles('./requirements.txt') }} restore-keys: | ${{ runner.os }}-pip- diff --git a/example_extension_project/user_extension/migrations/0001_initial.py b/example_extension_project/user_extension/migrations/0001_initial.py index e96d723..9ce2f19 100644 --- a/example_extension_project/user_extension/migrations/0001_initial.py +++ b/example_extension_project/user_extension/migrations/0001_initial.py @@ -3,7 +3,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [ diff --git a/example_integration_project/user_integration/migrations/0001_add_user.py b/example_integration_project/user_integration/migrations/0001_add_user.py index d9487f8..6dc2dce 100644 --- a/example_integration_project/user_integration/migrations/0001_add_user.py +++ b/example_integration_project/user_integration/migrations/0001_add_user.py @@ -19,7 +19,6 @@ def remove_user(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("improved_user", "0001_initial"), ] diff --git a/example_replacement_project/user_replacement/migrations/0001_initial.py b/example_replacement_project/user_replacement/migrations/0001_initial.py index dc22b02..aedb35a 100644 --- a/example_replacement_project/user_replacement/migrations/0001_initial.py +++ b/example_replacement_project/user_replacement/migrations/0001_initial.py @@ -3,7 +3,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [ diff --git a/src/improved_user/migrations/0001_initial.py b/src/improved_user/migrations/0001_initial.py index 059e477..222f15d 100644 --- a/src/improved_user/migrations/0001_initial.py +++ b/src/improved_user/migrations/0001_initial.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [