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

Rename delete_field -> pop_field #29

Rename delete_field -> pop_field

Rename delete_field -> pop_field #29

Workflow file for this run

# This workflow will install Python dependencies, then perform static analysis for code style and type checking.
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Code Style analysis
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@main
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@main
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get update
python -m pip install --upgrade pip
pip install .[dev]
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Analyze code with mypy
run: |
mypy ./src ./tests --ignore-missing-imports
- name: Analyze code with ruff
run: |
ruff format --check
ruff check