This commit is contained in:
parent
9fcb9fbc09
commit
6e0bd51690
1 changed files with 3 additions and 3 deletions
|
@ -24,15 +24,15 @@ jobs:
|
|||
export PATH="$HOME/.local/bin:$PATH"
|
||||
poetry env use ${{ matrix.python-version }}
|
||||
poetry install --with dev
|
||||
- name: Analysing the code with Pylint
|
||||
- name: Analysing Python files with Pylint
|
||||
run: |
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
poetry run pylint $(git ls-files '*.py')
|
||||
- name: Analysing HTML templates with djLint
|
||||
if: ${{ cancelled() }}
|
||||
if: ${{ !cancelled() }}
|
||||
run: |
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
poetry run djlint $(git ls-files '*.py') --lint --check
|
||||
- name: Analysing CSS styles with StyleLint
|
||||
if: ${{ cancelled() }}
|
||||
if: ${{ !cancelled() }}
|
||||
uses: actions/stylelint@master
|
||||
|
|
Loading…
Reference in a new issue