chore: pre-commit now needs rich types

This commit is contained in:
Matthias 2024-07-07 13:18:50 +02:00
parent 4d5b330b77
commit bc60855b93
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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: