summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml15
1 files changed, 7 insertions, 8 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index f0cb767..feedfc0 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -31,14 +31,13 @@ repos:
- id: end-of-file-fixer
exclude: LICENSE
- # Due to UP007 and Typer this stays disabled: https://github.com/tiangolo/typer/issues/533
- # - repo: local
- # hooks:
- # - id: pyupgrade
- # name: pyupgrade
- # entry: poetry run pyupgrade --py310-plus
- # types: [python]
- # language: system
+ - repo: local
+ hooks:
+ - id: pyupgrade
+ name: pyupgrade
+ entry: poetry run pyupgrade --py312-plus
+ types: [python]
+ language: system
# Disabled du to conflicts with black and I like the style of black more.
# - repo: local