mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
update precommits (#1001)
Co-authored-by: James Maslek <james@jamess-mbp.myfiosgateway.com>
This commit is contained in:
8
.pre-commit-config.yaml
vendored
8
.pre-commit-config.yaml
vendored
@@ -10,11 +10,11 @@ repos:
|
||||
- id: check-merge-conflict
|
||||
- id: detect-private-key
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 21.9b0
|
||||
rev: 21.11b1
|
||||
hooks:
|
||||
- id: black
|
||||
- repo: https://github.com/pycqa/flake8
|
||||
rev: 3.9.2
|
||||
rev: 4.0.1
|
||||
hooks:
|
||||
- id: flake8
|
||||
entry: flake8 --ignore=E203,W503 --max-line-length=122
|
||||
@@ -25,7 +25,7 @@ repos:
|
||||
entry: codespell
|
||||
args: [ '--ignore-words-list=ba,buil,coo,ether,hist,hsi,mape,navagation,operatio,pres,ser,yeld', '--quiet-level=2', '--skip=./tests,.git,*.css,*.csv,*.html,*.ini,*.ipynb,*.js,*.json,*.lock,*.scss,*.txt,*.yaml' ]
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: 'v0.812'
|
||||
rev: 'v0.910-1'
|
||||
hooks:
|
||||
- id: mypy
|
||||
args: [ '--ignore-missing-imports', '--exclude=/setup\.py$', '.']
|
||||
@@ -43,7 +43,7 @@ repos:
|
||||
args: [ '--baseline', '.secrets.baseline', '--exclude-files', 'tests/cassettes/*' ]
|
||||
exclude: package.lock.json
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v2.23.3
|
||||
rev: v2.29.1
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: [ --py36-plus ]
|
||||
|
||||
Reference in New Issue
Block a user