ignore nodemodules in yamllint
This commit is contained in:
parent
061b61e22c
commit
996040bbdb
2 changed files with 10 additions and 5 deletions
5
.forgejo/workflows/config/.yamllint
Normal file
5
.forgejo/workflows/config/.yamllint
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
extends: default
|
||||||
|
|
||||||
|
ignore: |
|
||||||
|
- /node_modules/
|
||||||
|
- /__pycache__/
|
|
@ -24,22 +24,22 @@ jobs:
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
poetry env use ${{ matrix.python-version }}
|
poetry env use ${{ matrix.python-version }}
|
||||||
poetry install --with dev
|
poetry install --with dev
|
||||||
- name: Analysing Python files with Pylint
|
- name: Analyzing Python files with Pylint
|
||||||
run: |
|
run: |
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
poetry run pylint $(git ls-files '*.py')
|
poetry run pylint $(git ls-files '*.py')
|
||||||
- name: Analysing HTML templates with djLint
|
- name: Analyzing HTML templates with djLint
|
||||||
if: ${{ !cancelled() }}
|
if: ${{ !cancelled() }}
|
||||||
run: |
|
run: |
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
poetry run djlint $(git ls-files '*.html') --lint
|
poetry run djlint $(git ls-files '*.html') --lint
|
||||||
- name: Analysing CSS styles with StyleLint
|
- name: Analyzing CSS styles with StyleLint
|
||||||
if: ${{ !cancelled() }}
|
if: ${{ !cancelled() }}
|
||||||
uses: actions/stylelint@master
|
uses: actions/stylelint@master
|
||||||
env:
|
env:
|
||||||
PATTERN: "**/*.css"
|
PATTERN: "**/*.css"
|
||||||
- name: Analysing YAML files with YAMLlint
|
- name: Analyzing YAML files with YAMLlint
|
||||||
if: ${{ !cancelled() }}
|
if: ${{ !cancelled() }}
|
||||||
run: |
|
run: |
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
poetry run yamllint .
|
poetry run yamllint -c ./.forgejo/workflows/config/.yamllint .
|
||||||
|
|
Loading…
Reference in a new issue