diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 91c1c8b2..4aa6af71 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -82,6 +82,7 @@ jobs: - name: Run codacy-coverage-reporter uses: codacy/codacy-coverage-reporter-action@v1 + continue-on-error: true if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot' && matrix.python-version == '3.9' with: project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} @@ -92,4 +93,4 @@ jobs: if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot' && matrix.python-version == '3.9' with: token: ${{ secrets.CODECOV_TOKEN }} - fail_ci_if_error: true + fail_ci_if_error: false diff --git a/migration_fixer/management/commands/makemigrations.py b/migration_fixer/management/commands/makemigrations.py index 18fec157..39611813 100644 --- a/migration_fixer/management/commands/makemigrations.py +++ b/migration_fixer/management/commands/makemigrations.py @@ -121,7 +121,7 @@ def handle(self, *app_labels, **options): try: remote = self.repo.remotes[self.remote] remote.fetch( - f"{self.default_branch}:{self.default_branch}", + f"{self.default_branch}:{self.default_branch}", # noqa force=self.force_update, ) except GitCommandError: # pragma: no cover diff --git a/migration_fixer/utils.py b/migration_fixer/utils.py index 8cc53d37..1e98aa69 100644 --- a/migration_fixer/utils.py +++ b/migration_fixer/utils.py @@ -28,7 +28,9 @@ def _update_migration(conflict_path: Path, app_label: str, prev_migration: str) if match: comma = match.group("comma") - replacement = f"({comma}{app_label}{comma}, {comma}{prev_migration}{comma})," + replacement = ( + f"({comma}{app_label}{comma}, {comma}{prev_migration}{comma})," # noqa + ) # Update the migration output = re.sub(