Skip to content

Updated mesh tests in line with refactoring (and fixed bugs) #101

Updated mesh tests in line with refactoring (and fixed bugs)

Updated mesh tests in line with refactoring (and fixed bugs) #101

Workflow file for this run

name: Linting
on: [push]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Analysing the code with ruff
run: ruff check .
- name: Formatting the code with ruff
run: ruff format --diff .
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mypy hypothesis pytest numpy scipy rtree click types-PyYAML
- name: Check typing information using MyPy
run: mypy