Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Conditional imports to support operating with pydantic>2 installed #64

Conditional imports to support operating with pydantic>2 installed

Conditional imports to support operating with pydantic>2 installed #64

Workflow file for this run

name: Static analysis
on: [pull_request]
jobs:
pre-commit-checks:
name: Pre-commit checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install pre-commit
run: |
python -m pip install --upgrade pip
pip install pre-commit
- name: Run pre-commit
run: |
pre-commit run --show-diff-on-failure --color=always --all-files