Skip to content

Commit

Permalink
only run pyright on local machine, where all dependencies are installed
Browse files Browse the repository at this point in the history
  • Loading branch information
bigabig committed Oct 17, 2024
1 parent 4e2f5bb commit 4d5da66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ repos:
name: "Pyright"
entry: bash -c 'ENV_NAME=dats source backend/_activate_current_env.sh && pyright'
language: system
# only run on local machine
condition: '[ "${CI:-false}" = "false" ]'
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v9.11.0
hooks:
Expand Down

0 comments on commit 4d5da66

Please sign in to comment.