Skip to content

Commit

Permalink
πŸ’š Style Transfer: modify .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmeoni committed Sep 4, 2024
1 parent 5e19db8 commit cfd1a8c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@ repos:
- id: flake8
exclude: notebooks/

# Mypy is used to check the typing hints in Python; it is quite a restrictive tool, so we don't
# use it in tests
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.7.1
hooks:
- id: mypy
exclude: apps/|notebooks/|tests/
additional_dependencies: ["types-requests", "types-PyYAML"]

# Safety is used to check if there are hardcoded secrets inside code and history
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.1
Expand Down

0 comments on commit cfd1a8c

Please sign in to comment.