Update .gitea/workflows/lint.yaml
Some checks failed
Actions / Lint Code (Ruff & Pylint) (push) Failing after 28s
Some checks failed
Actions / Lint Code (Ruff & Pylint) (push) Failing after 28s
This commit is contained in:
parent
73142f3273
commit
a3b09cba49
1 changed files with 4 additions and 2 deletions
|
@ -7,14 +7,16 @@ on:
|
|||
jobs:
|
||||
Lint Code (Ruff & Pylint):
|
||||
runs-on: docker
|
||||
container: www.coastalcommits.com/seaswimmerthefsh/actionscontainers-seacogs:latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install Ruff and Pylint
|
||||
run: pip install ruff pylint
|
||||
|
||||
- name: Analysing code with Ruff
|
||||
run: ruff check $(git ls-files '*.py')
|
||||
continue-on-error: true
|
||||
|
||||
- name: Analysing code with Pylint
|
||||
run: pylint --rcfile=.forgejo/workflows/config/.pylintrc $(git ls-files '*.py')
|
||||
run: pylint --rcfile=.gitea/workflows/config/.pylintrc $(git ls-files '*.py')
|
Loading…
Add table
Reference in a new issue