From 95f1ad963d1986460209da1e83cf9f1991e9f59e Mon Sep 17 00:00:00 2001 From: chvmvd Date: Tue, 22 Nov 2022 23:54:52 +0900 Subject: [PATCH 01/10] =?UTF-8?q?svg=E3=81=AEend-of-file-fixer=E3=82=92?= =?UTF-8?q?=E3=82=AA=E3=83=95=E3=81=AB=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 32d28f361..0dc12eeb2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -67,6 +67,7 @@ repos: args: [--allow-missing-credentials] - id: detect-private-key - id: end-of-file-fixer + exclude: \.svg$ - id: no-commit-to-branch args: [--branch, main] - id: requirements-txt-fixer From 26b5c09a56b57956c457e873501a18c9c309ff47 Mon Sep 17 00:00:00 2001 From: chvmvd Date: Tue, 22 Nov 2022 23:57:24 +0900 Subject: [PATCH 02/10] =?UTF-8?q?package-json,package-lock.json=E3=82=92pr?= =?UTF-8?q?etty-format-json=E3=81=8B=E3=82=89=E5=A4=96=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0dc12eeb2..560ca85fd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,6 +58,7 @@ repos: - id: check-json - id: pretty-format-json args: [--autofix] + exclude: ^(package.json|package-lock.json)$ - id: check-merge-conflict - id: check-toml - id: check-xml From c16bb9e6fa794240b756559bdab063fbe6a32525 Mon Sep 17 00:00:00 2001 From: chvmvd Date: Tue, 22 Nov 2022 23:59:23 +0900 Subject: [PATCH 03/10] =?UTF-8?q?nbqa-mypy=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 560ca85fd..3c22608c5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,7 +45,7 @@ repos: - id: nbqa-check-ast # - id: nbqa-flake8 - id: nbqa-isort - - id: nbqa-mypy + # - id: nbqa-mypy # - id: nbqa-pylint - id: nbqa-pyupgrade # - id: nbqa-yapf From 7775bb30b8391c8336505c2bcf5d6cc02d742646 Mon Sep 17 00:00:00 2001 From: chvmvd Date: Wed, 23 Nov 2022 00:01:40 +0900 Subject: [PATCH 04/10] =?UTF-8?q?sum=5F1to100=E3=82=92black=E3=81=8B?= =?UTF-8?q?=E3=82=89=E9=99=A4=E5=A4=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3c22608c5..bdd0aeb07 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,6 +18,7 @@ repos: hooks: - id: black - id: black-jupyter + exclude: docs/01python/07for/_samples/sum_1to100.ipynb - repo: https://github.com/pre-commit/mirrors-eslint rev: v8.26.0 hooks: From b0c0a35e383ec9693b8250f981091f944da1c796 Mon Sep 17 00:00:00 2001 From: chvmvd Date: Wed, 23 Nov 2022 00:09:00 +0900 Subject: [PATCH 05/10] =?UTF-8?q?sum=5F1to100=E3=82=92autopep8=E3=81=8B?= =?UTF-8?q?=E3=82=89=E9=99=A4=E5=A4=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bdd0aeb07..479051dde 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -51,6 +51,7 @@ repos: - id: nbqa-pyupgrade # - id: nbqa-yapf - id: nbqa-autopep8 + exclude: docs/01python/07for/_samples/sum_1to100.ipynb # - id: nbqa-pydocstyle - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.3.0 From 9ed14ee7421fee1428f404a67c8134649c750b03 Mon Sep 17 00:00:00 2001 From: chvmvd Date: Wed, 23 Nov 2022 00:10:45 +0900 Subject: [PATCH 06/10] =?UTF-8?q?sum=5F1to20=E3=82=92autopep8=E3=81=8B?= =?UTF-8?q?=E3=82=89=E9=99=A4=E5=A4=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 479051dde..69d116aa9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -51,7 +51,7 @@ repos: - id: nbqa-pyupgrade # - id: nbqa-yapf - id: nbqa-autopep8 - exclude: docs/01python/07for/_samples/sum_1to100.ipynb + exclude: docs/01python/07for/_samples/sum_1to(20|100).ipynb # - id: nbqa-pydocstyle - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.3.0 From a62b585cbbbe3ebbaee738692421ba22cfd0d216 Mon Sep 17 00:00:00 2001 From: chvmvd Date: Wed, 23 Nov 2022 00:12:11 +0900 Subject: [PATCH 07/10] =?UTF-8?q?indent.ipynb=E3=82=92check-ast=E3=81=8B?= =?UTF-8?q?=E3=82=89=E9=99=A4=E5=A4=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 69d116aa9..47de704cd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,6 @@ # See https://pre-commit.com/hooks.html for more hooks exclude: ( static/img/ - docs/05function/_samples/indent.ipynb ) repos: - repo: https://github.com/datarootsio/databooks @@ -44,6 +43,7 @@ repos: rev: 1.5.3 hooks: - id: nbqa-check-ast + exclude: docs/01python/05function/_samples/indent.ipynb # - id: nbqa-flake8 - id: nbqa-isort # - id: nbqa-mypy From 106cc8daa8eed59321a7b5f87605faf540a82a52 Mon Sep 17 00:00:00 2001 From: chvmvd Date: Wed, 23 Nov 2022 00:16:58 +0900 Subject: [PATCH 08/10] =?UTF-8?q?.eslintrc.json=E3=82=92pre-commit?= =?UTF-8?q?=E3=81=8B=E3=82=89=E9=99=A4=E5=A4=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 47de704cd..488546ad2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,9 +58,10 @@ repos: hooks: - id: check-added-large-files - id: check-json + exclude: .eslintrc.json - id: pretty-format-json args: [--autofix] - exclude: ^(package.json|package-lock.json)$ + exclude: ^(package.json|package-lock.json|.eslintrc.json)$ - id: check-merge-conflict - id: check-toml - id: check-xml From 6b36996fe0a7ffe254178e96e7a3cdfd24483374 Mon Sep 17 00:00:00 2001 From: chvmvd Date: Wed, 23 Nov 2022 00:18:18 +0900 Subject: [PATCH 09/10] =?UTF-8?q?tsconfig.json=E3=82=92pre-commit=E3=81=8B?= =?UTF-8?q?=E3=82=89=E9=99=A4=E5=A4=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 488546ad2..44c5bcb5c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,10 +58,10 @@ repos: hooks: - id: check-added-large-files - id: check-json - exclude: .eslintrc.json + exclude: .eslintrc.json|tsconfig.json - id: pretty-format-json args: [--autofix] - exclude: ^(package.json|package-lock.json|.eslintrc.json)$ + exclude: ^(package.json|package-lock.json|.eslintrc.json|tsconfig.json)$ - id: check-merge-conflict - id: check-toml - id: check-xml From f64813a1cfcf112d043a455527f1e4f82ad6deb1 Mon Sep 17 00:00:00 2001 From: chvmvd Date: Wed, 23 Nov 2022 00:22:21 +0900 Subject: [PATCH 10/10] =?UTF-8?q?=E4=B8=8D=E8=A6=81=E3=81=AAprecommit?= =?UTF-8?q?=E3=81=AEexclude=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 44c5bcb5c..640aade37 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,8 +1,5 @@ # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks -exclude: ( - static/img/ - ) repos: - repo: https://github.com/datarootsio/databooks rev: 1.2.3