Skip to content

Commit

Permalink
Pinned black version for docs linting on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bmispelon committed May 1, 2024
1 parent 06bd3c7 commit e258b5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
hooks:
- id: blacken-docs
additional_dependencies:
- black==24.2.0
- black==24.2.0 # needs to match the version in docs/requirements.txt
files: 'docs/.*\.txt$'
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
Expand Down
2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ pyenchant
Sphinx>=4.5.0
sphinxcontrib-spelling
blacken-docs
# The black version needs to match the one from .pre-commit-config.yaml
black==24.2.0

0 comments on commit e258b5e

Please sign in to comment.