-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move mypy execution to root directory, and run it on a directory.
This is the more common and better-supported way to run mypy, but it was previously blocked by the fact that our root (lsst) package was a namespace package. This change should make no external difference in what mypy does right now, but I suspect it will be easier to maintain and I can already say it's much more compatible with at least some in-editor mypy integration tool.
- Loading branch information
Showing
4 changed files
with
5 additions
and
9 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,4 +1,8 @@ | ||
# -*- python -*- | ||
from lsst.sconsUtils import scripts | ||
from lsst.sconsUtils import state | ||
|
||
scripts.BasicSConstruct("daf_butler", disableCc=True) | ||
mypy = state.env.Command("mypy.log", "python/lsst/daf/butler", | ||
"mypy python/lsst 2>&1 | tee -a mypy.log") | ||
state.env.Alias("mypy", mypy) |
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.