23 lines
419 B
YAML
23 lines
419 B
YAML
---
|
|
name: Linting
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
name: Run Pylint and Mypy on SgEExt
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-python@v3
|
|
|
|
- run: |
|
|
python -m pip install --upgrade pip
|
|
pip install requests pylint mypy
|
|
|
|
- run: |
|
|
pylint sgeext.py
|
|
mypy --install-types --non-interactive sgeext.py
|