mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-05 18:03:17 +03:00
pre-commit: Updated versions & include check-yaml
now
This commit is contained in:
parent
a4bd35a5c9
commit
5e47502384
@ -2,12 +2,13 @@
|
|||||||
# See https://pre-commit.com/hooks.html for more hooks
|
# See https://pre-commit.com/hooks.html for more hooks
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: 'v3.4.0'
|
rev: 'v4.1.0'
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-merge-conflict
|
- id: check-merge-conflict
|
||||||
- id: debug-statements
|
- id: debug-statements
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
|
- id: check-yaml
|
||||||
|
|
||||||
#- repo: https://github.com/pre-commit/mirrors-autopep8
|
#- repo: https://github.com/pre-commit/mirrors-autopep8
|
||||||
# rev: ''
|
# rev: ''
|
||||||
@ -30,7 +31,7 @@ repos:
|
|||||||
types: [ python ]
|
types: [ python ]
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/pygrep-hooks
|
- repo: https://github.com/pre-commit/pygrep-hooks
|
||||||
rev: 'v1.8.0'
|
rev: 'v1.9.0'
|
||||||
hooks:
|
hooks:
|
||||||
- id: python-no-eval
|
- id: python-no-eval
|
||||||
- id: python-no-log-warn
|
- id: python-no-log-warn
|
||||||
@ -40,7 +41,7 @@ repos:
|
|||||||
# mypy - static type checking
|
# mypy - static type checking
|
||||||
# mypy --follow-imports skip <file>
|
# mypy --follow-imports skip <file>
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: 'v0.812'
|
rev: 'v0.931'
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
args: [ "--follow-imports", "skip", "--ignore-missing-imports", "--scripts-are-modules" ]
|
args: [ "--follow-imports", "skip", "--ignore-missing-imports", "--scripts-are-modules" ]
|
||||||
@ -59,7 +60,7 @@ repos:
|
|||||||
|
|
||||||
# safety.exe check -r requirements.txt
|
# safety.exe check -r requirements.txt
|
||||||
- repo: https://github.com/Lucas-C/pre-commit-hooks-safety
|
- repo: https://github.com/Lucas-C/pre-commit-hooks-safety
|
||||||
rev: 'v1.2.1'
|
rev: 'v1.2.3'
|
||||||
hooks:
|
hooks:
|
||||||
- id: python-safety-dependencies-check
|
- id: python-safety-dependencies-check
|
||||||
entry: safety
|
entry: safety
|
||||||
|
Loading…
x
Reference in New Issue
Block a user