Skip to content

Refactored simple mesh generators (untested) #103

Refactored simple mesh generators (untested)

Refactored simple mesh generators (untested) #103

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