Add new page documenting integration with other tools - #12
Conversation
Includes examples for pre-commit and prek hooks.
|
|
||
| ### pre-commit | ||
|
|
||
| Zuban can be integrated into a `pre-commit` workflow as a local hook. This is |
There was a problem hiding this comment.
You should probably use [pre-commit](some-url) here and below for prek as well, since a lot of people have no specific knowledge about these tools.
|
I like the changes, thanks! What do you think about moving to installation.md (like I mentioned above?) |
|
Sorry for the delay. I pushed an update, but I was a bit short on time yesterday. I don’t oppose moving everything into My only concern is that we might eventually want to add more integration examples there (e.g. CI usage, combining it with a traditional linter, other tooling, etc.). I'm worried that the installation page could grow quite large and make specific things harder to find. But maybe I'm overthinking the future a bit 😄 I can move it if you prefer keeping everything in one place. |
|
I would prefer it there. Thanks! And feel free to mark this ready, I'm happy to merge. |
|
Ok, thanks again 💖 |
|
Can you still move it to installation.md? That's still missing. Also on an unrelated note, because you asked for it before, I released Zuban 0.6.0 and it includes support for pytest fixtures. (completions, goto and type checking) |
|
|
||
| ```yaml | ||
| repos: | ||
| - repo: local |
There was a problem hiding this comment.
My preference is to have an 'official' repo for this; using local feels a bit like a workaround
Includes examples for pre-commit and prek hooks.
related #9