Skip to content

Commit

Permalink
chore: apply black and update tox
Browse files Browse the repository at this point in the history
  • Loading branch information
csalom committed May 22, 2024
1 parent 00479a3 commit 4c0ca6a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
1 change: 1 addition & 0 deletions puput/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from wagtail.contrib.routable_page.models import RoutablePageMixin, route
from wagtail.models import Page
import wagtail

if wagtail.VERSION[:2] < (6, 0):
from wagtail.search.models import Query
else:
Expand Down
17 changes: 8 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
[tox]
envlist =
py{38,39,310}-dj{42}-wt52
py311-dj{42,50}-wt52
py312-dj{42,50}-wt52
py{38,39}-dj{42}-{wt52,60,61}
py{310,311,312}-dj{42,50}-wt{52,60,61}
flake8
black

[gh-actions]
python =
3.8: py38-dj42-wt52
3.9: py38-dj42-wt52
3.10: py310-dj{42,50}-wt52
3.11: py311-dj{42,50}-wt52
3.12: py312-dj{42,50}-wt52, flake8, black
3.8: py38-dj42-wt{52,60,61}
3.9: py39-dj42-wt{52,60,61}
3.10: py310-dj{42,50}-wt{52,60,61}
3.11: py311-dj{42,50}-wt{52,60,61}
3.12: py312-dj{42,50}-wt{52,60,61}, flake8, black

[flake8]
max-line-length = 120
Expand All @@ -28,7 +27,7 @@ commands =
deps =
pytest==8.0.0
pytest-django==4.8.0
requests==2.31.0
requests==2.32.0
model-bakery==1.17.0
ipdb==0.13.13
django-el-pagination==4.0
Expand Down

0 comments on commit 4c0ca6a

Please sign in to comment.