Open SofianChay opened 2 years ago
Yes, I would be very strongly in favor of adding mypy with type annotations. I think the easiest would be something like,
pyproject.toml
[tool.mypy]
python_version = "3.8"
show_error_codes = true
ignore_missing_imports = true
.pre-commit-config.yaml
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v0.971"
hooks:
- id: mypy
(I had to do this for another repository recently)
Hi everyone, we were wondering with @albertcthomas and @kegl if it was a good idea to use type hints since I wanted to start using them on the time series workflow. Is it ok for everyone?
@rth @agramfort