Update pre-commit hook versions (#11202)

This commit is contained in:
Carlos Mocholí 2021-12-22 18:09:27 +01:00 committed by GitHub
parent 52f308eb89
commit 85304d4672
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 8 deletions

View File

@ -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

View File

@ -286,7 +286,6 @@ if _OMEGACONF_AVAILABLE:
super().__init__(*args, **kwargs)
self.save_hyperparameters()
else:
class DictConfSubClassBoringModel: