Skip to content

Bump types-requests from 2.32.0.20240907 to 2.32.0.20240914 #287

Bump types-requests from 2.32.0.20240907 to 2.32.0.20240914

Bump types-requests from 2.32.0.20240907 to 2.32.0.20240914 #287

Workflow file for this run

# Workflow is triggered on push and pull_request events.
#
# Docs:
# - GitHub Actions: https://help.github.com/en/actions
#
name: Linting & Test
on:
# Trigger the workflow on pushes to only the 'main' branch (this avoids duplicate checks being run e.g. for dependabot pull requests)
push:
branches: [ main ]
# Trigger the workflow on any pull request
pull_request:
jobs:
linting-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.8
cache: 'pip'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Lint - isort
run: isort main.py trivia_box.py test/
- name: Lint - mypy
run: mypy main.py trivia_box.py test/
- name: Lint - flake8
run: flake8 main.py trivia_box.py test/
- name: Lint - blue
run: blue --check main.py trivia_box.py test/
- name: Test
run: pytest