update to use pydantic v2 and remove python 3.7 support #200
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python Linter | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
code_style: | |
runs-on: ubuntu-latest | |
steps: | |
- name: check out source repository | |
uses: actions/checkout@v3 | |
- name: set up Python environment | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: isort | |
uses: isort/[email protected] | |
with: | |
configuration: --profile black | |
- name: black | |
uses: psf/black@stable | |
- name: flake8 | |
uses: py-actions/flake8@v2 |