From 5d50056618d68e9d69927fdc8e83c7eae574a844 Mon Sep 17 00:00:00 2001 From: YooSunyoung Date: Fri, 5 Apr 2024 12:26:48 +0200 Subject: [PATCH] Add flake8 argments. --- .pre-commit-config.yaml | 1 + pyproject.toml | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 19830db..f88b98d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -35,6 +35,7 @@ repos: - id: flake8 types: ["python"] additional_dependencies: ["flake8-bugbear==23.9.16"] + args: ["--max-line-length=88", "--extend-ignore=E203"] - repo: https://github.com/pycqa/bandit rev: 1.7.5 hooks: diff --git a/pyproject.toml b/pyproject.toml index f918182..39063d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -84,7 +84,3 @@ enable_error_code = [ ] show_error_codes = true warn_unreachable = true - -[tool.flake8] -max-line-length = 88 -extend-ignore = "E203"