mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-04-23 12:47:16 +00:00
![dependabot[bot]](/assets/img/avatar_default.png)
* Bump pyupgrade from 3.1.0 to 3.2.0 Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 3.1.0 to 3.2.0. - [Release notes](https://github.com/asottile/pyupgrade/releases) - [Commits](https://github.com/asottile/pyupgrade/compare/v3.1.0...v3.2.0) --- updated-dependencies: - dependency-name: pyupgrade dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update .pre-commit-config.yaml * Fixing pyupgrade Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
35 lines
866 B
YAML
35 lines
866 B
YAML
repos:
|
|
- repo: https://github.com/psf/black
|
|
rev: 22.6.0
|
|
hooks:
|
|
- id: black
|
|
args:
|
|
- --safe
|
|
- --quiet
|
|
- --target-version
|
|
- py310
|
|
files: ^((supervisor|tests)/.+)?[^/]+\.py$
|
|
- repo: https://gitlab.com/pycqa/flake8
|
|
rev: 3.8.3
|
|
hooks:
|
|
- id: flake8
|
|
additional_dependencies:
|
|
- flake8-docstrings==1.5.0
|
|
- pydocstyle==5.0.2
|
|
files: ^(supervisor|script|tests)/.+\.py$
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v3.1.0
|
|
hooks:
|
|
- id: check-executables-have-shebangs
|
|
stages: [manual]
|
|
- id: check-json
|
|
- repo: https://github.com/PyCQA/isort
|
|
rev: 5.9.3
|
|
hooks:
|
|
- id: isort
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
rev: v3.2.0
|
|
hooks:
|
|
- id: pyupgrade
|
|
args: [--py310-plus]
|