FEniCS / FEniCS/ffcx

Extend `mypy` checking to demos and tests

Open
#802 0 comments 0 reactions 1 assignee Claimed by @schnellerhase View on GitHub
good first issue type-hints
Dominant language
Python
Stars
192
Forks
45
Avg merge
1d 11h
Merged PRs (30d)
16

Description

Currently the `mypy` checks are only run on the `FFCx` package itself in the [CI](https://github.com/FEniCS/ffcx/blob/main/.github/workflows/pythonapp.yml#L88), not the testing and demo code. This should be extended for increased coverage.

This can also be rolled out in partial fixes, by using `mypy.overrides` inside the `pyproject.toml`, as done for [other](https://github.com/FEniCS/ffcx/blob/main/pyproject.toml#L77) code parts.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.