grantjenks / blue

The slightly less uncompromising Python code formatter.
https://blue.readthedocs.io/
Other
387 stars 21 forks source link

[docs request] Adding example pre-commit config to README #93

Open jamesbraza opened 1 year ago

jamesbraza commented 1 year ago

Can we add an example pre-commit hook to the README:

repos:
  - repo: https://github.com/grantjenks/blue
    rev: v0.9.1
    hooks:
      - id: blue

Source: https://github.com/grantjenks/blue/issues/85#issuecomment-1268923837

Just will save a little bit of thought for developers trying to adopt blue via pre-commit