Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre authored Sep 19, 2024
2 parents 4f72605 + 224dc09 commit b76a82e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@ repos:
rev: v0.1.13
hooks:
- id: ruff
exclude: rednotebook/external/.*\.py
- id: ruff-format
exclude: rednotebook/external/.*\.py
7 changes: 3 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# next (unreleased)
# 2.12 (2024-09-17)

* Use `ruff` for linting (Anh Trinh, #347).
* Use `ruff` for formatting (Anh Trinh, #349).
* Use `ruff` for linting and formatting (Anh Trinh, #347, #349).
* Replace `tox` by `pre-commit` for linting and formatting (Anh Trinh, #349).
* Add `--config` flag to specify path to pyproject.toml configuration file (Glen Robertson #352).
* Add `--config` flag to specify path to pyproject.toml configuration file (Glen Robertson, #352).
* Add version badges for PyPI and conda-forge to the README (Trevor James Smith, #356).

# 2.11 (2024-01-06)
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,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 @@ -209,6 +209,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
2 changes: 1 addition & 1 deletion vulture/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.11"
__version__ = "2.12"

0 comments on commit b76a82e

Please sign in to comment.