From 49067de32555624aec561bbdf4bda257b9293f35 Mon Sep 17 00:00:00 2001 From: Ariel Rin Date: Sun, 12 May 2024 19:21:58 +1000 Subject: [PATCH] apply precommit here --- pyproject.toml | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7afaabc1..3045997f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [build-system] build-backend = "flit_core.buildapi" requires = [ - "flit_core<4,>=3.2", + "flit-core<4,>=3.2", ] [project] @@ -11,7 +11,7 @@ keywords = [ "allianceauth", "eveonline", ] -license = {file = "LICENSE"} +license = { file = "LICENSE" } authors = [ { name = "Alliance Auth", email = "adarnof@gmail.com" }, ] @@ -63,27 +63,24 @@ dependencies = [ "semantic-version", "slixmpp", ] -[project.optional-dependencies] -docs = [ +optional-dependencies.docs = [ "myst-parser", "sphinx", "sphinx-copybutton", + "sphinx-rtd-theme<3,>=2", "sphinx-tabs", - "sphinx_rtd_theme<3.0.0,>=2", "sphinxcontrib-django", ] -test = [ +optional-dependencies.test = [ "coverage>=4.3.1", "django-webtest", "requests-mock>=1.2", ] -[project.urls] -Documentation = "https://allianceauth.readthedocs.io/" -Homepage = "https://gitlab.com/allianceauth/allianceauth" -Source = "https://gitlab.com/allianceauth/allianceauth" -Tracker = "https://gitlab.com/allianceauth/allianceauth/-/issues" -[project.scripts] -allianceauth = "allianceauth.bin.allianceauth:main" +urls.Documentation = "https://allianceauth.readthedocs.io/" +urls.Homepage = "https://gitlab.com/allianceauth/allianceauth" +urls.Source = "https://gitlab.com/allianceauth/allianceauth" +urls.Tracker = "https://gitlab.com/allianceauth/allianceauth/-/issues" +scripts.allianceauth = "allianceauth.bin.allianceauth:main" [tool.flit.module] name = "allianceauth" @@ -97,8 +94,12 @@ sections = [ "DJANGO", "ESI", "FIRSTPARTY", - "LOCALFOLDER" + "LOCALFOLDER", +] +known_esi = [ + "esi", +] +known_django = [ + "django", ] -known_esi = ["esi"] -known_django = ["django"] skip_gitignore = true