mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 00:23:07 +00:00
Revert "chore: pre-commit now needs rich types"
This reverts commit bc60855b93.
This commit is contained in:
@@ -20,7 +20,6 @@ repos:
|
|||||||
- types-tabulate==0.9.0.20240106
|
- types-tabulate==0.9.0.20240106
|
||||||
- types-python-dateutil==2.9.0.20240316
|
- types-python-dateutil==2.9.0.20240316
|
||||||
- SQLAlchemy==2.0.31
|
- SQLAlchemy==2.0.31
|
||||||
- rich==13.7.1
|
|
||||||
# stages: [push]
|
# stages: [push]
|
||||||
|
|
||||||
- repo: https://github.com/pycqa/isort
|
- repo: https://github.com/pycqa/isort
|
||||||
|
|||||||
@@ -18,9 +18,7 @@ with require.open("r") as rfile:
|
|||||||
|
|
||||||
# Extract types only
|
# Extract types only
|
||||||
type_reqs = [
|
type_reqs = [
|
||||||
r.strip("\n")
|
r.strip("\n") for r in requirements if r.startswith("types-") or r.startswith("SQLAlchemy")
|
||||||
for r in requirements
|
|
||||||
if r.startswith("types-") or r.startswith("SQLAlchemy") or r.startswith("rich")
|
|
||||||
]
|
]
|
||||||
|
|
||||||
with pre_commit_file.open("r") as file:
|
with pre_commit_file.open("r") as file:
|
||||||
|
|||||||
Reference in New Issue
Block a user