Skip to content

Commit

Permalink
exclude snapshots from pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
karolina-siemieniuk-morawska committed Dec 6, 2023
1 parent 7cc2bb0 commit 3d4a69b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ on:

jobs:
linter:
# exclude: |
# (?x)(
# ^__snapshots__/
# )
runs-on: ubuntu-latest
steps:
- name: Checkout Code
Expand All @@ -29,5 +25,4 @@ jobs:

- name: Run pre-commit
uses: pre-commit/[email protected]
with:
extra_args: flake8 --all-files
exclude: ^__snapshots__/
1 change: 0 additions & 1 deletion .github/workflows/pull-request-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
secrets: inherit
paths-ignore: [ "**/__snapshots__/**" ]

0 comments on commit 3d4a69b

Please sign in to comment.