ignore nodemodules in yamllint
Some checks failed
Docker Build / Build (push) Successful in 5s
Linter / Lint (3.11) (push) Failing after 42s

This commit is contained in:
Seaswimmer 2023-11-25 05:01:47 -05:00
parent 061b61e22c
commit 996040bbdb
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE
2 changed files with 10 additions and 5 deletions

View file

@ -0,0 +1,5 @@
extends: default
ignore: |
- /node_modules/
- /__pycache__/

View file

@ -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 .