Update pre-commit hook versions (#11202)
This commit is contained in:
parent
52f308eb89
commit
85304d4672
|
@ -46,7 +46,7 @@ repos:
|
|||
- id: detect-private-key
|
||||
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v2.29.0
|
||||
rev: v2.29.1
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: [--py37-plus]
|
||||
|
@ -59,32 +59,32 @@ repos:
|
|||
args: [--in-place, --wrap-summaries=115, --wrap-descriptions=120]
|
||||
|
||||
- repo: https://github.com/asottile/yesqa
|
||||
rev: v1.2.3
|
||||
rev: v1.3.0
|
||||
hooks:
|
||||
- id: yesqa
|
||||
name: Unused noqa
|
||||
|
||||
- repo: https://github.com/PyCQA/isort
|
||||
rev: 5.9.3
|
||||
rev: 5.10.1
|
||||
hooks:
|
||||
- id: isort
|
||||
name: Format imports
|
||||
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 21.9b0
|
||||
rev: 21.12b0
|
||||
hooks:
|
||||
- id: black
|
||||
name: Format code
|
||||
|
||||
- repo: https://github.com/asottile/blacken-docs
|
||||
rev: v1.11.0
|
||||
rev: v1.12.0
|
||||
hooks:
|
||||
- id: blacken-docs
|
||||
args: [--line-length=120]
|
||||
additional_dependencies: [black==21.7b0]
|
||||
|
||||
- repo: https://github.com/executablebooks/mdformat
|
||||
rev: 0.7.10
|
||||
rev: 0.7.11
|
||||
hooks:
|
||||
- id: mdformat
|
||||
additional_dependencies:
|
||||
|
@ -94,7 +94,7 @@ repos:
|
|||
exclude: CHANGELOG.md
|
||||
|
||||
- repo: https://github.com/PyCQA/flake8
|
||||
rev: 3.9.2
|
||||
rev: 4.0.1
|
||||
hooks:
|
||||
- id: flake8
|
||||
name: Check PEP8
|
||||
|
|
|
@ -286,7 +286,6 @@ if _OMEGACONF_AVAILABLE:
|
|||
super().__init__(*args, **kwargs)
|
||||
self.save_hyperparameters()
|
||||
|
||||
|
||||
else:
|
||||
|
||||
class DictConfSubClassBoringModel:
|
||||
|
|
Loading…
Reference in New Issue