From a3f8e27eb61f39d98157c2dd24f71eefc06abd88 Mon Sep 17 00:00:00 2001 From: Jendrik Seipp Date: Fri, 13 Sep 2024 08:10:03 +0200 Subject: [PATCH] Add link to Vulture GitHub Action. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7275f6cd..a230ed93 100644 --- a/README.md +++ b/README.md @@ -189,7 +189,7 @@ Vulture will automatically look for a `pyproject.toml` in the current working di To use a `pyproject.toml` in another directory, you can use the `--config path/to/pyproject.toml` flag. -## Version control integration +## Integrations You can use a [pre-commit](https://pre-commit.com/#install) hook to run Vulture before each commit. For this, install pre-commit and add the @@ -207,6 +207,8 @@ Then run `pre-commit install`. Finally, create a `pyproject.toml` file in your repository and specify all files that Vulture should check under `[tool.vulture] --> paths` (see above). +There's also a [GitHub Action for Vulture](https://github.com/gtkacz/vulture-action). + ## How does it work? Vulture uses the `ast` module to build abstract syntax trees for all