Skip to content

build(deps): bump actions/checkout from 6 to 7 in the actions group #104

build(deps): bump actions/checkout from 6 to 7 in the actions group

build(deps): bump actions/checkout from 6 to 7 in the actions group #104

Workflow file for this run

name: Python Lint
on:
pull_request:
push:
paths:
- '.github/workflows/pylint.yml'
- '**/*.py'
- '.pylintrc'
- 'pyproject.toml'
jobs:
python-lint:
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
fail-fast: false
matrix:
lint: [mypy, pylint]
steps:
- uses: actions/checkout@v7
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: '3.13'
- name: Install dependencies
run: |
pip install pytest
- name: Run mypy
if: matrix.lint == 'mypy'
run: |
pip install mypy
mypy --explicit-package-bases kernelsu/ lxc/ nethunter/ rekernel/ config.py
- name: Run pylint
if: matrix.lint == 'pylint'
run: |
pip install pylint
pylint kernelsu/ lxc/ nethunter/ rekernel/ config.py