mirror of
https://github.com/ivre/masscanned.git
synced 2025-10-02 06:38:21 +00:00
Tests: clean Python code, add linting to CI
This commit is contained in:
parent
f397198d75
commit
70eae9bc0c
4 changed files with 636 additions and 243 deletions
|
@ -28,7 +28,8 @@ from scapy.interfaces import resolve_iface
|
|||
from scapy.layers.tuntap import TunTapInterface
|
||||
|
||||
from src.all import test_all
|
||||
from src.conf import *
|
||||
from src.conf import IPV4_ADDR, IPV6_ADDR, MAC_ADDR, OUTDIR
|
||||
|
||||
|
||||
def setup_logs():
|
||||
ch = logging.StreamHandler()
|
||||
|
@ -39,6 +40,7 @@ def setup_logs():
|
|||
log.addHandler(ch)
|
||||
return log
|
||||
|
||||
|
||||
LOG = setup_logs()
|
||||
IFACE = "tap0"
|
||||
conf.verb = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue