mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 02:12:01 +00:00
chore: pre-commit now needs rich types
This commit is contained in:
parent
4d5b330b77
commit
bc60855b93
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user