diff --git a/.forgejo/workflows/lint.yml b/.forgejo/workflows/lint.yml index aceb1c8..2d4171f 100644 --- a/.forgejo/workflows/lint.yml +++ b/.forgejo/workflows/lint.yml @@ -32,7 +32,9 @@ jobs: if: ${{ !cancelled() }} run: | export PATH="$HOME/.local/bin:$PATH" - poetry run djlint $(git ls-files '*.py') --lint --check + poetry run djlint $(git ls-files '*.html') --lint - name: Analysing CSS styles with StyleLint if: ${{ !cancelled() }} uses: actions/stylelint@master + env: + PATTERN: "**/*.css" diff --git a/pyproject.toml b/pyproject.toml index 1f99ff1..186744b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,6 +16,9 @@ flask-discord = "^0.1.69" pylint = "^3.0.2" djlint = "^1.34.0" +[tool.djlint] +profile="jinja" + [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"