Skip to content

Commit

Permalink
Add .pre-commit-hooks.yaml (#769)
Browse files Browse the repository at this point in the history
Summary:
**Pre-submission checklist**
- [X] I've ran the linters locally and fixed lint errors related to the files I modified in this PR. You can install the linters by running `pip install -r requirements-dev.txt && pre-commit install`
- [X] `pre-commit run`

This should make the Pyre compatible as a [pre-commit tool](https://pre-commit.com/)

Pull Request resolved: #769

Reviewed By: grievejia

Differential Revision: D47970158

Pulled By: connernilsen

fbshipit-source-id: eb5aa633682527547c8528b052de72274bac8651
  • Loading branch information
r-barnes authored and facebook-github-bot committed Aug 2, 2023
1 parent 91e7256 commit 4f8e05b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- id: pyre-check
name: pyre-check
description: "pyre-check: Performant type-checking for python."
entry: pyre check
language: python
minimum_pre_commit_version: 2.9.2
require_serial: true
types_or: [python, pyi]

0 comments on commit 4f8e05b

Please sign in to comment.