-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔀🔧 MERGE: Add strict typing for most sphinx_needs modules (#1002)
This PR adds strict typing to most of the package, building on #987 and #998 to try to confine use of dynamic types to a small surface area. This hopefully makes it easier for developers to navigate the code base, and lessens the potential for bugs arising from type mismatches. --- There are still some open questions, particularly around `NeedsInfoType`, which 1. has some dynamic fields (such as user defined links/options) and, 2. has some fields which are only set after post-transforms (such `process_need_nodes`)
- Loading branch information
Showing
40 changed files
with
671 additions
and
554 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
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
Oops, something went wrong.
00e6afb
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.
Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
1.50
.Small, basic Sphinx-Needs project
0.3475135600000385
s0.22089727900004164
s1.57
This comment was automatically generated by workflow using github-action-benchmark.
CC: @danwos