Mirror of pyre-check
for pre-commit.
For pre-commit
, see github.com/pre-commit/pre-commit. For pyre-check
, see github.com/facebook/pyre-check.
Add this to your project root
{
"site_package_search_strategy": "pep561",
"source_directories": [
"."
],
"ignore_all_errors": [
".venv/" // ignore files from this directory - virtual environments, etc.
]
}
Add this to your .pre-commit-config.yaml
- repo: https://github.com/murilo-cunha/mirrors-pyre
rev: v0.9.17 # use the sha/tag you want to point at
hooks:
- id: pyre-check
additional_dependencies: ["..."] # dependencies required by your project with no available stubs