mirror of
https://github.com/aljazceru/hummingbot-dashboard.git
synced 2026-01-28 09:34:21 +01:00
(feat) update precommit
This commit is contained in:
@@ -2,25 +2,32 @@ repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.3.0
|
||||
hooks:
|
||||
- id: flake8
|
||||
types: ['file']
|
||||
files: \.(py|pyx|pxd)$
|
||||
- id: detect-private-key
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-eslint
|
||||
rev: v8.10.0
|
||||
hooks:
|
||||
- id: eslint
|
||||
files: \.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx
|
||||
types: [file]
|
||||
|
||||
- repo: https://github.com/CoinAlpha/git-hooks
|
||||
rev: 78f0683233a09c68a072fd52740d32c0376d4f0f
|
||||
hooks:
|
||||
- id: detect-wallet-private-key
|
||||
types: [file]
|
||||
exclude: .json
|
||||
|
||||
- repo: https://github.com/pycqa/isort
|
||||
rev: 5.12.0
|
||||
hooks:
|
||||
- id: isort
|
||||
files: "\\.(py)$"
|
||||
args: [--settings-path=pyproject.toml]
|
||||
|
||||
- repo: https://github.com/pycqa/flake8
|
||||
rev: 3.9.2
|
||||
hooks:
|
||||
- id: flake8
|
||||
additional_dependencies: ['flake8']
|
||||
args: [--max-line-length=120]
|
||||
|
||||
Reference in New Issue
Block a user