diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8fa4bf9ee..44134826c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,6 +20,7 @@ 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 9d313efd2..2e97e3ed0 100644 --- a/build_helpers/pre_commit_update.py +++ b/build_helpers/pre_commit_update.py @@ -18,7 +18,9 @@ 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") + r.strip("\n") + for r in requirements + if r.startswith("types-") or r.startswith("SQLAlchemy") or r.startswith("rich") ] with pre_commit_file.open("r") as file: