Skip to content

add pre-commit checks and tests #11

add pre-commit checks and tests

add pre-commit checks and tests #11

Workflow file for this run

name: Pre-commit Check
# This workflow is triggered on push and pull request events
on: [push, pull_request]
jobs:
run-pre-commit:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Install and Run pre-commit
run: |
pip3 install -U pre-commit pytest mypy types-requests
pre-commit run --all-files