Commit Graph

7 Commits

Author SHA1 Message Date
Jon Dufresne
33d8613715
Bump minimum_pre_commit_version per recommendation (#1895)
Recommended by @asottile, the pre-commit author and maintainer, to avoid
some breakages in version 2.9.0.
2020-12-31 11:10:18 -08:00
Jon Dufresne
af6f78f2ae
Add pyi file support to .pre-commit-hooks.yaml (#1875)
Since pre-commit 2.9.0 (2020-11-21), the types_or key can be used to
match multiple disparate file types. For more upstream details, see:
https://github.com/pre-commit/pre-commit/issues/607

Add the minimum_pre_commit_version to require pre-commit 2.9.0+.

Fixes #402
2020-12-31 09:09:07 -08:00
Yngve Høiseth
a6d866990e Automatic markdown and YAML formatting with Prettier (#874) 2019-10-21 11:42:46 +02:00
Anthony Sottile
bc7e5c949f Turn off pre-commit's automatic parallelization for black (#675)
black internally uses multiprocessing for speed.  In pre-commit 1.13.0 this is automated by the framework itself however if both pre-commit and black are forking processes this is slower and hits race-conditions in `black`.
2019-01-18 20:52:56 +00:00
Miroslav Shubernetskiy
33601ffa6d not enforcing python3.6 for precommit hook (#430)
this should allow precommit hooks to be used with py37
2018-08-17 17:01:29 +01:00
Anthony Sottile
6dd16bf7ae Add a description for the pre-commit hook (#107)
This string appears on the hooks page on pre-commit.com.
2018-04-04 15:07:57 -07:00
Łukasz Langa
f8e9544c93
Add integration for pre-commit.com (#104)
Fixes #103
2018-04-04 13:19:30 -07:00