From 145270885aaa28c6961e2d42c7fd5b3ec43caf6d Mon Sep 17 00:00:00 2001 From: trgiangdo Date: Fri, 18 Aug 2023 13:02:24 +0700 Subject: [PATCH] fix: ignore E501 line too long error on post_gen_project.py hook --- .github/workflows/linter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index ee827a3..c455695 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -20,6 +20,6 @@ jobs: with: use-pylint: false extra-black-options: "--line-length=120" - extra-pycodestyle-options: "--max-line-length=120 --ignore=E121,E123,E126,E226,E24,E704,W503,W504,E203" + extra-pycodestyle-options: "--max-line-length=120 --exclude=post_gen_project.py --ignore=E121,E123,E126,E226,E24,E704,W503,W504,E203" extra-mypy-options: "--ignore-missing-imports --implicit-optional --no-namespace-packages --exclude=hooks" extra-isort-options: "--line-length=120 --force-grid-wrap=10 --multi-line=VERTICAL_HANGING_INDENT --trailing-comma"