From 7eaecf4ce92a6245920e036b9a9c245cfdf90d60 Mon Sep 17 00:00:00 2001 From: jboilard1994 Date: Sun, 8 Dec 2024 20:14:50 +0000 Subject: [PATCH] Transfer flake8 configs so it is used during both github actions and devcontainer execution --- .devcontainer/devcontainer.json | 1 - .flake8 | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .flake8 diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index ee5d392..d4f2e5d 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -34,7 +34,6 @@ // Linting "python.linting.enabled": true, "python.linting.flake8Enabled": true, - "python.linting.flake8Args": ["--max-line-length=120"], "python.linting.mypyEnabled": true, "mypy-type-checker.args": ["--ignore-missing-imports", "--disallow-untyped-defs", "--disallow-incomplete-defs", "--cache-dir", ".mypy_cache"], // Unit testing diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..6deafc2 --- /dev/null +++ b/.flake8 @@ -0,0 +1,2 @@ +[flake8] +max-line-length = 120