This commit is contained in:
parent
6e0bd51690
commit
5bcd6727a5
2 changed files with 6 additions and 1 deletions
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue