You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,8 @@ This package contains the core features of OpenFisca, which are meant to be used
17
17
18
18
OpenFisca runs on Python 3.7. More recent versions should work, but are not tested.
19
19
20
+
OpenFisca also relies strongly on NumPy. Last four minor versions should work, but only latest/stable is tested.
21
+
20
22
## Installation
21
23
22
24
If you're developing your own country package, you don't need to explicitly install OpenFisca-Core. It just needs to appear [in your package dependencies](https://github.com/openfisca/openfisca-france/blob/18.2.1/setup.py#L53).
This repository relies on MyPy for optional dynamic & static type checking.
57
+
58
+
As NumPy introduced the `typing` module in 1.20.0, to ensure type hints do not break the code at runtime, we run the checker against the last four minor NumPy versions.
59
+
60
+
Type checking is already run with `make test`. To run the type checker alone:
61
+
62
+
```sh
63
+
make check-types
64
+
```
65
+
52
66
## Style
53
67
54
68
This repository adheres to a [certain coding style](STYLEGUIDE.md), and we invite you to follow it for your contributions to be integrated promptly.
0 commit comments