Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdai committed Jul 23, 2024
1 parent 3c80ff7 commit a058507
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,9 @@ repos:
rev: v1.10.1
hooks:
- id: mypy
name: mypy-promptfoo-configs
name: mypy
pass_filenames: false
files: ^prompt_eval/promptfoo-configs/
entry: bash -c 'cd prompt_eval && mypy --config-file ../mypy.ini -p promptfoo-configs "$@"' --
additional_dependencies: ["types-PyYAML"]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.1
hooks:
- id: mypy
name: mypy-prompt-arena
pass_filenames: false
files: ^prompt_eval/prompt-arena/
entry: bash -c 'cd prompt_eval && mypy --config-file ../mypy.ini -p prompt-arena "$@"' --
entry: bash -c 'mypy --config-file ../mypy.ini -p snowflake_cybersyn_demo "$@"' --
additional_dependencies: ["types-PyYAML"]
- repo: https://github.com/pappasam/toml-sort
rev: v0.23.1
Expand Down

0 comments on commit a058507

Please sign in to comment.