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