Skip to content

Commit

Permalink
cicd: disabled spellcheck config for cicd, as it misbehaves
Browse files Browse the repository at this point in the history
  • Loading branch information
Lasica committed Nov 20, 2023
1 parent 45e43c2 commit 126e4a4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
repos:
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
args: ["--profile", "black", "--line-length=79"]
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: flake8
args: ['--ignore=E203,W503', '--max-line-length=120'] # see https://github.com/psf/black/issues/315 https://github.com/psf/black/issues/52
2 changes: 1 addition & 1 deletion .github/workflows/test_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Check pre-commit status
run: |
poetry install -v
poetry run pre-commit run --all-files
poetry run pre-commit run --all-files -c .github/pre-commit-config.yaml
- name: Test with tox
run: |
Expand Down
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# THIS IS LOCAL PRE-COMMIT CONFIG
# CICD uses separate config in .github until spellcheck hook gets improved
repos:
- repo: https://github.com/pycqa/isort
rev: 5.12.0
Expand Down

0 comments on commit 126e4a4

Please sign in to comment.