From e58f38f879768eda8fbb3218f4807ab4e4f7ddf3 Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Thu, 24 Sep 2020 11:13:23 +0100 Subject: [PATCH] Update pre-commit from nox-py2 to nox Fixes #58522 --- .pre-commit-config.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 16b21ff6ed9..ee8f533434e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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$