feat(workflow): readd pylint linting

This commit is contained in:
SeaswimmerTheFsh 2024-02-28 10:52:22 -05:00
parent 57c7bce6cd
commit 98396c17e2
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063
4 changed files with 131 additions and 2 deletions

View 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

View file

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