Skip to content

Pin pytest to ~=7 #65 #81

Pin pytest to ~=7 #65

Pin pytest to ~=7 #65 #81

Workflow file for this run

name: lint_python
on: [pull_request, push]
jobs:
lint_python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: psf/black@stable
with:
version: "~= 23.0"
- run: pip install bandit black codespell flake8 isort mypy pyupgrade safety
- run: bandit --recursive --skip B101,B106 .
- run: codespell # --ignore-words-list="" --skip=""
- run: flake8 . --count --max-complexity=11 --max-line-length=113 --show-source --statistics
- run: isort --check-only --profile black .
- run: python setup.py install
- run: mypy --exclude './build/lib/farmOS/__init__.py' --ignore-missing-imports . || true
- run: shopt -s globstar && pyupgrade --py36-plus **/*.py