Skip to content

[Hinty] Core typing: scapy/pipetools.py & scapy/scapypipes.py #3429

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

Merged
merged 2 commits into from
Nov 17, 2021

Conversation

gpotter2
Copy link
Member

@gpotter2 gpotter2 commented Nov 2, 2021

requires #3391

This PR:

  • adds typing of pipetools.py and scapypipes.py
  • removes the convert_to mechanism. It's not implemented in A SINGLE scapy packet and is super confusing IMHO. No one ever used this in its lifespan so I don't think it will be missed.... I often think we should not have merged Adds Packet conversion semantics. #1913

@codecov
Copy link

codecov bot commented Nov 4, 2021

Codecov Report

Merging #3429 (9134491) into master (e28aa57) will decrease coverage by 0.05%.
The diff coverage is 76.92%.

@@            Coverage Diff             @@
##           master    #3429      +/-   ##
==========================================
- Coverage   85.28%   85.23%   -0.06%     
==========================================
  Files         277      277              
  Lines       57192    57160      -32     
==========================================
- Hits        48774    48718      -56     
- Misses       8418     8442      +24     
Impacted Files Coverage Δ
scapy/automaton.py 75.43% <ø> (ø)
scapy/config.py 81.32% <0.00%> (-0.31%) ⬇️
scapy/packet.py 82.95% <ø> (-0.24%) ⬇️
scapy/plist.py 83.33% <ø> (-2.99%) ⬇️
scapy/pipetool.py 84.32% <75.43%> (-1.80%) ⬇️
scapy/scapypipes.py 83.00% <100.00%> (-0.44%) ⬇️
scapy/arch/windows/__init__.py 67.73% <0.00%> (-0.57%) ⬇️

@gpotter2 gpotter2 merged commit c1f1d6e into secdev:master Nov 17, 2021
@gpotter2 gpotter2 deleted the mypy-pipetool branch November 17, 2021 13:07
@gpotter2 gpotter2 added this to the 2.5.0 milestone Mar 29, 2022
bzalkilani pushed a commit to bzalkilani/scapy that referenced this pull request Jun 12, 2022
…#3429)

* Type pipetool & undo cleanup convert_to

* Type forgotten file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants