Skip to content

Conversation

nnrepos
Copy link
Contributor

@nnrepos nnrepos commented Oct 10, 2022

this is a part of #2158 (hinty project).

@nnrepos nnrepos force-pushed the type_hinting_modules branch from c2b8dd4 to 7bdbee6 Compare October 11, 2022 06:55
@codecov
Copy link

codecov bot commented Oct 11, 2022

Codecov Report

Merging #3759 (09f7d51) into master (181bb2f) will decrease coverage by 0.00%.
The diff coverage is 92.59%.

@@            Coverage Diff             @@
##           master    #3759      +/-   ##
==========================================
- Coverage   84.62%   84.61%   -0.01%     
==========================================
  Files         296      296              
  Lines       62084    62094      +10     
==========================================
+ Hits        52536    52543       +7     
- Misses       9548     9551       +3     
Impacted Files Coverage Δ
scapy/config.py 80.47% <66.66%> (-0.08%) ⬇️
scapy/modules/nmap.py 96.42% <95.00%> (+0.15%) ⬆️
scapy/data.py 87.57% <100.00%> (+0.03%) ⬆️
scapy/arch/windows/__init__.py 67.16% <0.00%> (-0.56%) ⬇️
scapy/supersocket.py 56.58% <0.00%> (-0.30%) ⬇️
scapy/layers/ntp.py 84.55% <0.00%> (-0.28%) ⬇️
scapy/automaton.py 74.04% <0.00%> (-0.12%) ⬇️
scapy/fields.py 91.29% <0.00%> (-0.06%) ⬇️
scapy/sendrecv.py 85.75% <0.00%> (+0.02%) ⬆️
scapy/packet.py 82.58% <0.00%> (+0.06%) ⬆️
... and 3 more

Copy link
Member

@p-l- p-l- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi there,
Thanks for this PR! We try to maintain a code history as clean as possible, so could you please revert the changes that are not needed (e.g., whitespaces)?
Thanks!

@p-l-
Copy link
Member

p-l- commented Oct 11, 2022

Also, you need to fix the mypy errors:

scapy/data.py:555: error: Missing type parameters for generic type "List"
scapy/config.py:53: error: Module "scapy.data" has no attribute "NmapKnowledgeBase"; maybe "KnowledgeBase"?

@nnrepos nnrepos force-pushed the type_hinting_modules branch from 7bdbee6 to c12b9e3 Compare October 11, 2022 19:21
@nnrepos nnrepos requested a review from p-l- October 11, 2022 19:21
@nnrepos nnrepos force-pushed the type_hinting_modules branch 4 times, most recently from 94f4a13 to 13c08cb Compare October 12, 2022 19:25
@nnrepos nnrepos force-pushed the type_hinting_modules branch from 13c08cb to 09f7d51 Compare October 12, 2022 19:25
@p-l- p-l- merged commit 2c62465 into secdev:master Oct 13, 2022
@p-l-
Copy link
Member

p-l- commented Oct 13, 2022

Thanks a lot for this contribution @nnrepos!

@nnrepos nnrepos deleted the type_hinting_modules branch October 13, 2022 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants