summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2025-07-01 08:04:08 +0200
committerRobert Honz <exislow+github@gmail.com>2025-07-01 08:04:21 +0200
commitd3164f48defcfe93ae04bd02e1b3ab7f4a72e632 (patch)
treeb6c56bd06103c4120ec933cee96ce501598e46ba /.pre-commit-config.yaml
parente35f5eef78d7e65d240046dfad8fca17f303950b (diff)
downloadtidal-dl-ng-d3164f48defcfe93ae04bd02e1b3ab7f4a72e632.tar.gz
✨ Add Python 3.13 support and update dependencies
Extends Python version support to include 3.13 in CI workflows, tox environments, and documentation. Updates dependencies to ensure compatibility with the new Python version and resolves legacy workarounds for macOS GitHub Actions runners. Upgrades include: - `pyside6` to version 6.9.1 - `click` to version 8.2.1 - Other relevant dependency updates for compatibility. Re-enables `pyupgrade` pre-commit hook targeting Python 3.12+. Fixed binary creation for Intel macOS.
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