-
-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
type
sparse.py
, enable mypy in CI (#773)
* typing configs * remove fallback implemenations of combination/permutation functions * refactor "test" to a test * some types * stash * register test_sparse in `run_tests.py` * isort * types * revert * unused * remove type restriction * python 3.7 * does claude know travis? * add comprehensive blacklist * travis * omit one more * black * add mypy to github actions * remove travis * better type ignore * remove whitespace cruft from merge * turns out black wanted that whitespace... * took out versions from requirements-dev.txt and simplified exclude rule for mypy --------- Co-authored-by: Franco Peschiera <pchtsp@gmail.com>
- Loading branch information
Showing
7 changed files
with
94 additions
and
62 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 was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[tool.mypy] | ||
exclude = [ | ||
"doc/", | ||
"examples/", | ||
"pulp/__init__.py", | ||
"pulp/apis/", | ||
"pulp/mps_lp.py", | ||
"pulp/pulp.py", | ||
"pulp/solverdir/", | ||
"pulp/tests/", | ||
"pulp/utilities.py", | ||
"setup.py", | ||
"venv/.*" | ||
] | ||
follow_imports = "silent" | ||
strict = true | ||
check_untyped_defs = true |
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,4 +1,5 @@ | ||
black | ||
mypy | ||
pre-commit==2.12.0 | ||
sphinx | ||
sphinx_rtd_theme | ||
black |