From d3f275b2313a4f2ae275be07a92ae12b7ad604bc Mon Sep 17 00:00:00 2001 From: Jure Bajic Date: Wed, 25 Jan 2023 18:49:02 +0100 Subject: [PATCH] Exclude license dir from CI trigger (#740) --- .github/workflows/diff.yaml | 1 + .pre-commit-config.yaml | 2 +- init | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/diff.yaml b/.github/workflows/diff.yaml index 1e7d7e86d..605783495 100644 --- a/.github/workflows/diff.yaml +++ b/.github/workflows/diff.yaml @@ -14,6 +14,7 @@ on: - "**/*.md" - ".clang-format" - "CODEOWNERS" + - "licenses/*" jobs: community_build: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5abd746c9..79bf689df 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 22.10.0 + rev: 22.8.0 hooks: - id: black - repo: https://github.com/pycqa/isort diff --git a/init b/init index 595037ba4..adaafdeff 100755 --- a/init +++ b/init @@ -149,7 +149,7 @@ python3 -m pre_commit install # Install py format tools echo "Install black formatter" -python3 -m pip install black==22.10.* +python3 -m pip install black==22.8.* echo "Install isort" python3 -m pip install isort==5.10.*