forked from blizzthewolf/SeaCogs
feat(workflow): switch to ruff for code linting
This commit is contained in:
parent
1aa12e88ac
commit
eafd02bb53
3 changed files with 5 additions and 5 deletions
|
@ -6,7 +6,7 @@ on:
|
|||
pull_request:
|
||||
|
||||
jobs:
|
||||
Lint Code (Pylint):
|
||||
Lint Code (Ruff):
|
||||
runs-on: docker
|
||||
container: coastalcommits.com/seaswimmerthefsh/actionscontainers-seacogs:latest
|
||||
steps:
|
||||
|
@ -16,8 +16,8 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: poetry install --with dev --no-root
|
||||
|
||||
- name: Analysing code with Pylint
|
||||
run: pylint --rcfile .forgejo/workflows/config/.pylintrc $(git ls-files '*.py')
|
||||
- name: Analysing code with Ruff
|
||||
run: ruff check $(git ls-files '*.py')
|
||||
|
||||
Build Documentation (MkDocs):
|
||||
runs-on: docker
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue