Skip to content

Commit

Permalink
chore(ci): Add djlint
Browse files Browse the repository at this point in the history
  • Loading branch information
pennersr committed Oct 6, 2023
1 parent 419582a commit 193b00b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
extra-env: ['docs', 'black', 'isort', 'flake8', 'standardjs']
extra-env: ['docs', 'black', 'isort', 'flake8', 'standardjs', 'djlint']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ qa:
flake8 allauth
isort --check-only --skip-glob '*/migrations/*' --diff allauth
black --check allauth setup.py
djlint --check allauth example
8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ deps =
commands =
black --check {posargs:{toxinidir}/allauth} {posargs:{toxinidir}/setup.py}

[testenv:djlint]
skip_install = True
ignore_errors = True
deps =
djlint==1.33.0
commands =
djlint --configuration {posargs:{toxinidir}/.djlintrc} --check {posargs:{toxinidir}/allauth} {posargs:{toxinidir}/example}

[testenv:flake8]
skip_install = True
ignore_errors = True
Expand Down

0 comments on commit 193b00b

Please sign in to comment.