1
1
Fork 0
PythonLearning/.gitea/workflows/lint.yaml
SeaswimmerTheFsh a3b09cba49
Some checks failed
Actions / Lint Code (Ruff & Pylint) (push) Failing after 28s
Update .gitea/workflows/lint.yaml
2024-04-29 23:02:53 +00:00

22 lines
No EOL
503 B
YAML

name: Actions
on:
push:
branches:
- 'master'
jobs:
Lint Code (Ruff & Pylint):
runs-on: docker
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=.gitea/workflows/config/.pylintrc $(git ls-files '*.py')