Skip to content

Commit

Permalink
Add link to Vulture GitHub Action.
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikseipp committed Sep 13, 2024
1 parent 072debc commit a3f8e27
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a3f8e27

Please sign in to comment.