fixing readme #40
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: Linting | |
on: [push, pull_request] | |
jobs: | |
pylint: | |
name: Pylint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install pylint | |
pylint --max-line-length=120 source/ | |
flake8: | |
name: flake8 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install flake8 | |
flake8 --max-line-length=120 --ignore=F405 source/ | |
mypy: | |
name: Mypy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install mypy | |
mypy -v source/ | |
deptry: | |
name: deptry | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install deptry | |
deptry -v source/ |