Update pre-commit from nox-py2 to nox

Fixes #58522
This commit is contained in:
Pedro Algarvio 2020-09-24 11:13:23 +01:00 committed by Daniel Wozniak
parent ef9e4c4d35
commit e58f38f879

View file

@ -738,10 +738,10 @@ repos:
files: ^doc/.*\.rst
additional_dependencies: [black==19.10b0]
- repo: https://github.com/saltstack/salt-nox-pre-commit
rev: master
- repo: https://github.com/saltstack/mirrors-nox
rev: v2020.8.22
hooks:
- id: nox-py2
- id: nox
alias: lint-salt
name: Lint Salt
files: ^((setup|noxfile)|(salt|tasks)/.*)\.py$
@ -750,10 +750,10 @@ repos:
- lint-salt-pre-commit
- --
- repo: https://github.com/saltstack/salt-nox-pre-commit
rev: master
- repo: https://github.com/saltstack/mirrors-nox
rev: v2020.8.22
hooks:
- id: nox-py2
- id: nox
alias: lint-tests
name: Lint Tests
files: ^tests/.*\.py$
@ -762,10 +762,10 @@ repos:
- lint-tests-pre-commit
- --
- repo: https://github.com/saltstack/salt-nox-pre-commit
rev: master
- repo: https://github.com/saltstack/mirrors-nox
rev: v2020.8.22
hooks:
- id: nox-py2
- id: nox
alias: check-docs
name: Check Docs
files: ^(salt/.*\.py|doc/ref/.*\.rst)$
@ -775,10 +775,10 @@ repos:
- --
- docs.check
- repo: https://github.com/saltstack/salt-nox-pre-commit
rev: master
- repo: https://github.com/saltstack/mirrors-nox
rev: v2020.8.22
hooks:
- id: nox-py2
- id: nox
alias: check-filemap
name: Check Filename Map Change Matching
files: ^tests/filename_map\.yml$