fixing linter configs
Some checks failed
Linter / Lint (3.11) (push) Failing after 40s

This commit is contained in:
Seaswimmer 2023-11-25 01:29:55 -05:00
parent 6e0bd51690
commit 5bcd6727a5
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE
2 changed files with 6 additions and 1 deletions

View file

@ -32,7 +32,9 @@ jobs:
if: ${{ !cancelled() }} if: ${{ !cancelled() }}
run: | run: |
export PATH="$HOME/.local/bin:$PATH" 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 - name: Analysing CSS styles with StyleLint
if: ${{ !cancelled() }} if: ${{ !cancelled() }}
uses: actions/stylelint@master uses: actions/stylelint@master
env:
PATTERN: "**/*.css"

View file

@ -16,6 +16,9 @@ flask-discord = "^0.1.69"
pylint = "^3.0.2" pylint = "^3.0.2"
djlint = "^1.34.0" djlint = "^1.34.0"
[tool.djlint]
profile="jinja"
[build-system] [build-system]
requires = ["poetry-core"] requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api" build-backend = "poetry.core.masonry.api"