[Hinty] Type hinting: prepare tests & setup Mypy#2162
[Hinty] Type hinting: prepare tests & setup Mypy#2162guedou merged 2 commits intosecdev:masterfrom gpotter2:mypy
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2162 +/- ##
==========================================
- Coverage 84.78% 83.97% -0.81%
==========================================
Files 202 194 -8
Lines 46098 44686 -1412
==========================================
- Hits 39082 37525 -1557
- Misses 7016 7161 +145
|
guedou
left a comment
There was a problem hiding this comment.
Really cool PR!
See my comments/remarks.
|
This is going to be quite some work. After having done @guedou Below is a guide on how to contribute. Should we put it somewhere? Guide on how to contribute
|
|
Another note: Should we then choose to remove |
|
@gpotter2 the guide can be integrated into |
|
BTW, |
|
BTW, can you remove line 2502 from scapy/contrib/http2.py ? |
|
I think I've addressed all your points. I've also added Also, it's up to you to merge that before 2.4.3. As we don't require typing, it shouldn't have much effect... |
|
Should be ready to merge |
|
Rebased |
|
Your call, @guedou. |
|
This was supposed to be #2158. |
|
Oh, I forgot about it ...
|
This PR provides the tools, scripts and tests required to start "Project Hinty" = adding type hinting into Scapy.
pyannotateto generate type hintingmain.pyand__init__.py. Becausehttp2.pyhad also been done previously, it was also included.