Skip to content

Commit

Permalink
dev env: add typed-ast to fix mypy on python3.7
Browse files Browse the repository at this point in the history
```
$ pipenv run mypy "$(cat *.egg-info/top_level.txt)" tests
The typed_ast package is not installed.
You can install it with `python3 -m pip install typed-ast`.
Error: Process completed with exit code 1.
```

fphammerle/ical2vdir@5e39467
  • Loading branch information
fphammerle committed Feb 13, 2022
1 parent c48a5d4 commit ea178e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Pipfile
Expand Up @@ -14,6 +14,9 @@ pylint-import-requirements = "*"
pytest = "*"
pytest-cov = "*"

# mypy on python<3.8
typed-ast = {markers = "python_version < '3.8'"}

[requires]
python_version = "3"

Expand Down

0 comments on commit ea178e8

Please sign in to comment.