openfisca / openfisca-core

OpenFisca core engine. See other repositories for countries-specific code & data.
https://openfisca.org
GNU Affero General Public License v3.0
168 stars 75 forks source link

Improve package's typing #1062

Open bonjourmauko opened 2 years ago

bonjourmauko commented 2 years ago

Hi there!

Here is what I did:

I used a function expecting an int as argument, with a str argument.

Here is what I expected to happen:

To get an error from make check-types.

Here is what actually happened:

Nothing.

Context:

Type-hinting is an inexpensive way of :

TODO