From eb41f41a1807c890061c01fcda5bcf2841483b53 Mon Sep 17 00:00:00 2001 From: Gary Henderson <26419401+Gary-H9@users.noreply.github.com> Date: Tue, 2 Jul 2024 15:11:22 +0000 Subject: [PATCH] :wrench: Add linting config files --- mypy.ini | 2 ++ pyproject.toml | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 mypy.ini create mode 100644 pyproject.toml diff --git a/mypy.ini b/mypy.ini new file mode 100644 index 0000000..976ba02 --- /dev/null +++ b/mypy.ini @@ -0,0 +1,2 @@ +[mypy] +ignore_missing_imports = True diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..9bcbe97 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,19 @@ +[tool.black] +line-length = 100 +target-version = ["py311"] +extend-exclude = ''' +/( + \.git + env + venv + | migrations +)/ +''' + + +[tool.isort] +profile = 'black' +known_django = "django" +sections = "FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER" +line_length = 100 +multi_line_output = 3