Skip to content

Commit

Permalink
Updated black formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspatzke committed Jun 16, 2024
1 parent 5543ae1 commit ca1a950
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
repos:
- repo: https://github.com/psf/black
rev: 23.3.0
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.4.2
hooks:
- id: black
# It is recommended to specify the latest version of Python
# supported by your project here, or alternatively use
# pre-commit's default_language_version, see
# https://pre-commit.com/#top_level-default_language_version
language_version: python3.11
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ requests = "^2.31"
jinja2 = "^3.1"

[tool.poetry.dev-dependencies]
black = "^24.1"
black = "^24.4.2"
mypy = "^1.8"
pre-commit = "^3.5"
pylint = "^3.0"
Expand Down

0 comments on commit ca1a950

Please sign in to comment.