1
1
Fork 0
PythonLearning/.gitea/workflows/lint.yaml

20 lines
517 B
YAML
Raw Normal View History

2024-04-29 17:46:36 -05:00
name: Actions
on:
push:
branches:
2024-04-29 22:58:05 +00:00
- 'master'
2024-04-29 17:46:36 -05:00
jobs:
Lint Code (Ruff & Pylint):
runs-on: docker
container: www.coastalcommits.com/seaswimmerthefsh/actionscontainers-seacogs:latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Analysing code with Ruff
2024-04-29 22:58:40 +00:00
run: ruff check $(git ls-files '*.py')
2024-04-29 17:46:36 -05:00
continue-on-error: true
- name: Analysing code with Pylint
2024-04-29 22:58:40 +00:00
run: pylint --rcfile=.forgejo/workflows/config/.pylintrc $(git ls-files '*.py')