This repository has been archived by the owner on Aug 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mypy config to gradually roll out types
Add mypy config to gradually roll out types in the code base. The configured tox environment will not run unless explicitly specified (with tox -e types). The mypy config will ignore all files that have not been opted in, allowing a gradual roll out through the codebase.
- Loading branch information
Showing
3 changed files
with
52 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
# Install the package itself in dev mode | ||
-e . | ||
|
||
tox==3.24.1 | ||
|
||
# Formatters and linters | ||
black==21.7b0 | ||
pylint==2.9.6 | ||
isort==5.8.0 | ||
|
||
# Testing | ||
pytest==6.2.4 | ||
pytest-cov==2.12.0 | ||
pytest-freezegun==0.4.2 | ||
tox==3.24.1 | ||
pylint==2.9.6 | ||
isort==5.8.0 | ||
|
||
# Types | ||
mypy==0.910 | ||
sqlalchemy-stubs==0.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters