stable/.pre-commit-config.yaml
மனோஜ்குமார் பழனிச்சாமி f6376d867c Added renovate bot
2022-04-20 11:48:24 +05:30

64 lines
1.9 KiB
YAML

# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pycqa/flake8
rev: '4.0.1'
hooks:
- id: flake8
# stages: [push]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v0.942'
hooks:
- id: mypy
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:
# Splitting dashes and items on separate lines is intentional,
# enables Renovate's pip_requirements manager to update this file.
-
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:
# Splitting dashes and items on separate lines is intentional,
# enables Renovate's pip_requirements manager to update this file.
-
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'
hooks:
- id: isort
name: isort (python)
# stages: [push]