Skip to content

Remove requirements.txt, use Pipfile instead #65

Remove requirements.txt, use Pipfile instead

Remove requirements.txt, use Pipfile instead #65

Workflow file for this run

---
name: python
on:
pull_request:
branches:
- main
env:
PYTHON_VERSION: "3.10.0"
jobs:
python:
runs-on: ubuntu-20.04
name: python
steps:
- uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install pipenv
run: pip install pipenv
- name: install dependencies
run: pipenv install --dev
- name: run black formatter
run: pipenv run black --check .
- name: run flake8 linter
# Ignore linting errors that the black formatter is opiniated about
run: pipenv run flake8 --ignore E501,W503 .
- name: run bandit security scan
run: pipenv run bandit -r .