From 5451876db05c82d017288a50f94cb02887c7ac34 Mon Sep 17 00:00:00 2001 From: Deep Nayak Date: Wed, 18 Sep 2024 18:37:11 +0530 Subject: [PATCH] Fix flake8 issues --- .github/workflows/flake8.yml | 2 +- .vscode/settings.json | 2 +- pyproject.toml | 2 +- setup.cfg | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/flake8.yml b/.github/workflows/flake8.yml index 79328e4..5b52020 100644 --- a/.github/workflows/flake8.yml +++ b/.github/workflows/flake8.yml @@ -22,7 +22,7 @@ jobs: with: ignore: E203,E701,W503,W504,BLK100 exclude: src/agent/test_query_pipeline.py - max_line_length: 118 + max_line_length: 185 path: src plugins: flake8-black flake8-isort flake8-quotes error_classes: E,H,I00,Q00 diff --git a/.vscode/settings.json b/.vscode/settings.json index fb1df91..3e20020 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,7 +2,7 @@ "git.ignoreLimitWarning": true, "editor.formatOnSave": true, "flake8.args": [ - "--max-line-length=118" + "--max-line-length=185" ], "[python]": { "editor.codeActionsOnSave": { diff --git a/pyproject.toml b/pyproject.toml index 6153753..d4bdc42 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [tool.black] -line-length = 118 +line-length = 185 target-version = ['py39', 'py310', 'py311', 'py312'] include = '\.pyi?$' required-version = '24.4.2' diff --git a/setup.cfg b/setup.cfg index 3016043..cf25ece 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,4 +1,4 @@ [flake8] -max-line-length = 118 +max-line-length = 185 extend-ignore = E203,E701,W503,W504,BLK100 inline-quotes = double \ No newline at end of file