-
-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
type sparse.py
, enable mypy in CI
#773
Merged
+94
−62
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
13154fd
typing configs
frrad b71b5ec
remove fallback implemenations of combination/permutation functions
frrad 800d5ec
refactor "test" to a test
frrad 7638d12
some types
frrad d574164
stash
frrad 9c7a9e9
register test_sparse in `run_tests.py`
frrad 5288545
isort
frrad 50d339e
types
frrad 6d80d42
revert
frrad d1fb5a2
unused
frrad bf482c0
remove type restriction
frrad 2c6fb44
python 3.7
frrad 6377bb8
does claude know travis?
frrad 66007ce
add comprehensive blacklist
frrad 9f45d4b
travis
frrad 8010f4f
omit one more
frrad 7960422
Merge remote-tracking branch 'origin/master' into frrad/typing
frrad 47b02c8
black
frrad bda373e
add mypy to github actions
frrad cc119c8
remove travis
frrad 1971df5
better type ignore
frrad f81e41c
Merge remote-tracking branch 'origin/master' into frrad/typing
frrad a30216f
remove whitespace cruft from merge
frrad ebd0672
turns out black wanted that whitespace...
frrad f88beec
Merge branch 'master' into frrad/typing
pchtsp 3fd2b0b
took out versions from requirements-dev.txt and simplified exclude ru…
pchtsp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you just add a directory instead of each file? something like seems to work according to https://stackoverflow.com/a/78480102/6508131: