← Back to team overview

sts-sponsors team mailing list archive

[Merge] ~ack/maas:pyproject-fmt into maas:master

 

Alberto Donato has proposed merging ~ack/maas:pyproject-fmt into maas:master.

Commit message:
lint pyproject.toml with pyproject-fmt

Requested reviews:
  MAAS Maintainers (maas-maintainers)

For more details, see:
https://code.launchpad.net/~ack/maas/+git/maas/+merge/440033
-- 
Your team MAAS Committers is subscribed to branch maas:master.
diff --git a/tox.ini b/tox.ini
index 9f07e65..3d16143 100644
--- a/tox.ini
+++ b/tox.ini
@@ -24,11 +24,12 @@ cog =
 [deps]
 lint =
     black == 23.1.0
+    click == 8.1.3
+    cogapp == 3.3.0
     flake8 == 6.0.0
     flake8-pyproject == 1.2.3
     isort == 5.12.0
-    cogapp == 3.3.0
-    click == 8.1.3
+    pyproject-fmt==0.9.2
     setup-cfg-fmt==2.2.0
 oapi =
     openapi-spec-validator == 0.4.0
@@ -45,6 +46,7 @@ commands =
     isort {[files]lint}
     black -q {[files]lint}
     cog -r --verbosity=1 {[files]cog}
+    - pyproject-fmt pyproject.toml
 
 [testenv:lint]
 deps = {[deps]lint}
@@ -53,6 +55,7 @@ commands =
     black --check {[files]lint}
     flake8 {[files]lint}
     cog --check --verbosity=1 {[files]cog}
+    pyproject-fmt --check pyproject.toml
 
 [testenv:oapi]
 deps = {[deps]oapi}

References