This repository has been archived by the owner on Dec 28, 2023. It is now read-only.
Preparing the documentation for release (#31) #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint etc | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements-dev.txt | |
- name: Run pylint | |
run: | | |
pylint maintainer.py | |
pylint utils | |
- name: Run black | |
run: | | |
black --check . | |
- name: Run mypy | |
run: | | |
mypy -p utils | |
mypy maintainer.py |