Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: pre commit hooks - bump typos + refactor #436

Merged
merged 1 commit into from
Jul 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ repos:
- id: end-of-file-fixer
stages: [push]
- repo: https://github.com/crate-ci/typos
rev: v1.13.23
rev: v1.15.5
hooks:
- id: typos
stages: [push]
# vscode & the cli uses these too so they has been installed into the virtualenv
# vscode & the cli uses these too so they have been installed into the virtualenv
- repo: local
hooks:
- id: black
Expand All @@ -27,16 +27,16 @@ repos:
entry: .venv/bin/ruff
language: system
types: [python]
# these hooks require the project's virtualenv
- repo: local
hooks:
- id: pyright
name: pyright
entry: make pyright
# run on all files
entry: node_modules/.bin/pyright
# run on all files to catch type errors that affect unchanged files
pass_filenames: false
language: system
types: [python]
# these hooks require the project's virtualenv
- repo: local
hooks:
- id: test
name: test
entry: make test
Expand Down