itchiodl/.github/workflows/lint.yml
2022-05-05 11:12:25 +01:00

23 lines
No EOL
528 B
YAML

name: Linting
on: push
jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: psf/black@stable
pylint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install poetry
poetry install
- name: Analysing the code with pylint
run: poetry run pylint --rcfile=.pylintrc itchiodl/