From 236f12a1d9eb58baf50a171fa6b468bc2116e773 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=AE=AE=E0=AE=A9=E0=AF=8B=E0=AE=9C=E0=AF=8D=E0=AE=95?= =?UTF-8?q?=E0=AF=81=E0=AE=AE=E0=AE=BE=E0=AE=B0=E0=AF=8D=20=E0=AE=AA?= =?UTF-8?q?=E0=AE=B4=E0=AE=A9=E0=AE=BF=E0=AE=9A=E0=AF=8D=E0=AE=9A=E0=AE=BE?= =?UTF-8?q?=E0=AE=AE=E0=AE=BF?= Date: Sat, 9 Apr 2022 19:09:22 +0530 Subject: [PATCH] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 31af5b7c7..3d184be7e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,34 @@ repos: rev: 'v0.942' hooks: - id: mypy - # stages: [push] + pass_filenames: false # suppress the normal filename passing + files: ^freqtrade/ # filter the files down to a specific subdirectory + # pre-commit only supports running at the root of a repo since that's where + # git hooks run. but it also allows running arbitrary code so you can + # step outside of those bounds + # note that `bash` will reduce your portability slightly + verbose: true + entry: mypy freqtrade + additional_dependencies: + - types-cachetools==5.0.0 + - types-filelock==3.2.5 + - types-python-dateutil==2.8.10 + - types-requests==2.27.15 + - types-tabulate==0.8.6 + - types-urllib3==1.26.11 + + - id: mypy + pass_filenames: false + files: ^scripts/ + entry: mypy scripts + additional_dependencies: + - types-cachetools==5.0.0 + - types-filelock==3.2.5 + - types-python-dateutil==2.8.10 + - types-requests==2.27.15 + - types-tabulate==0.8.6 + - types-urllib3==1.26.11 + - repo: https://github.com/pycqa/isort rev: '5.10.1'