Skip to content

Merge pull request #10 from thedev132/dependabot/pip/prettytable-3.9.0 #45

Merge pull request #10 from thedev132/dependabot/pip/prettytable-3.9.0

Merge pull request #10 from thedev132/dependabot/pip/prettytable-3.9.0 #45

Workflow file for this run

name: lint_python
on: [pull_request, push]
jobs:
lint_python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: pip install bandit black codespell isort pytest pyupgrade safety
- run: bandit -r . || true
- run: black --check . || true
- run: codespell --ignore-words-list="followings, medias" --quiet-level=2
- run: isort --check-only --profile black . || true
- run: pip install -r requirements.txt
- run: pytest . || true
- run: pytest --doctest-modules . || true
- run: shopt -s globstar && pyupgrade --py36-plus **/*.py || true