From b9aa2695be2711a732153e3f7b70253a843a9da9 Mon Sep 17 00:00:00 2001 From: Arcane Engine Date: Sun, 13 Oct 2024 18:31:27 +0000 Subject: [PATCH 1/2] Add flake8 to pyproject.toml for linting support --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index eafbbd2..273e07a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ pygithub = "^2.4.0" django-allauth = "^65.0.1" psycopg2-binary = "^2.9.9" django-redis = "^5.4.0" - +flake8 = "^6.0.0" [build-system] requires = ["poetry-core"] From 0f710d6035979601a1b9c09efab4f1b6a2bfb7bf Mon Sep 17 00:00:00 2001 From: Arcane Engine Date: Sun, 13 Oct 2024 18:31:29 +0000 Subject: [PATCH 2/2] Add .flake8 configuration file for linting --- .flake8 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .flake8 diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..8af8f2b --- /dev/null +++ b/.flake8 @@ -0,0 +1,8 @@ +[flake8] +max-line-length = 88 +exclude = + .git, + __pycache__, + build, + dist, + .venv