Skip to content

murilo-cunha/mirrors-pyre

Repository files navigation

pyre mirror

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.

Using pyre with pre-commit

Pyre configuration

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.
  ]
}

Pre-commit configuration

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

About

Mirror of the `pyre-check` package for pre-commit.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages