mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-06 21:16:54 +00:00
Use new pre-commit config format
It seems that `pre-commit` now wants a top-level map (rather than a list) for its configuration. Update the example to match the new format.
This commit is contained in:
parent
21d3c70d67
commit
e5d0ce01ad
1 changed files with 1 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ started is to add this configuration to your ``.pre-commit-config.yaml``:
|
|||
|
||||
.. code-block:: yaml
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pycqa/flake8
|
||||
rev: '' # pick a git hash / tag to point to
|
||||
hooks:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue