From 483a829d0e750bf0a8a14dc9201f17df7267dce2 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 7 Jul 2024 15:10:33 +0200 Subject: [PATCH] Revert "chore: pre-commit now needs rich types" This reverts commit bc60855b93d2b66c75ad89ae3ac4b4d33700aea9. --- .pre-commit-config.yaml | 1 - build_helpers/pre_commit_update.py | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 44134826c..8fa4bf9ee 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,6 @@ repos: - types-tabulate==0.9.0.20240106 - types-python-dateutil==2.9.0.20240316 - SQLAlchemy==2.0.31 - - rich==13.7.1 # stages: [push] - repo: https://github.com/pycqa/isort diff --git a/build_helpers/pre_commit_update.py b/build_helpers/pre_commit_update.py index 2e97e3ed0..9d313efd2 100644 --- a/build_helpers/pre_commit_update.py +++ b/build_helpers/pre_commit_update.py @@ -18,9 +18,7 @@ with require.open("r") as rfile: # Extract types only type_reqs = [ - r.strip("\n") - for r in requirements - if r.startswith("types-") or r.startswith("SQLAlchemy") or r.startswith("rich") + r.strip("\n") for r in requirements if r.startswith("types-") or r.startswith("SQLAlchemy") ] with pre_commit_file.open("r") as file: