feat(workflow): readd pylint linting
This commit is contained in:
parent
57c7bce6cd
commit
98396c17e2
4 changed files with 131 additions and 2 deletions
20
.forgejo/workflows/config/.pylintrc
Normal file
20
.forgejo/workflows/config/.pylintrc
Normal file
|
@ -0,0 +1,20 @@
|
|||
[MESSAGES CONTROL]
|
||||
disable=
|
||||
too-many-lines,
|
||||
missing-module-docstring,
|
||||
missing-function-docstring,
|
||||
missing-class-docstring,
|
||||
line-too-long,
|
||||
too-many-arguments,
|
||||
too-many-branches,
|
||||
superfluous-parens,
|
||||
invalid-name,
|
||||
too-many-locals,
|
||||
too-many-public-methods,
|
||||
too-many-statements,
|
||||
arguments-differ,
|
||||
too-many-return-statements,
|
||||
import-outside-toplevel,
|
||||
import-self,
|
||||
relative-beyond-top-level,
|
||||
too-many-instance-attributes
|
|
@ -6,7 +6,7 @@ on:
|
|||
pull_request:
|
||||
|
||||
jobs:
|
||||
Lint Code (Ruff):
|
||||
Lint Code (Ruff & Pylint):
|
||||
runs-on: docker
|
||||
container: www.coastalcommits.com/seaswimmerthefsh/actionscontainers-seacogs:latest
|
||||
steps:
|
||||
|
@ -19,6 +19,9 @@ jobs:
|
|||
- name: Analysing code with Ruff
|
||||
run: ruff check $(git ls-files '*.py')
|
||||
|
||||
- name: Analysing code with Pylint
|
||||
run: pylint --rcfile=.forgejo/workflows/config/.pylintrc $(git ls-files '*.py')
|
||||
|
||||
Build Documentation (MkDocs):
|
||||
runs-on: docker
|
||||
container: www.coastalcommits.com/seaswimmerthefsh/actionscontainers-seacogs:latest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue