Fix import
This commit is contained in:
parent
bdfa4bf2a0
commit
be2ffcc690
|
@ -67,7 +67,7 @@ ignored-modules=
|
|||
|
||||
# Python code to execute, usually for sys.path manipulation such as
|
||||
# pygtk.require().
|
||||
init-hook='import sys; sys.path.append("./twnet_parser")'
|
||||
init-hook='import sys; sys.path.append("./twnet_parser"); sys.path.append(".")'
|
||||
|
||||
# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
|
||||
# number of processors available to use, and will cap the count on Windows to
|
||||
|
|
|
@ -3,11 +3,7 @@
|
|||
from typing import Union
|
||||
from typing import cast
|
||||
|
||||
# TODO: fix mypy
|
||||
import packer # type: ignore
|
||||
# this is not just a mypy issue this also breaks!
|
||||
# $ pip install twnet-parser==0.1.1
|
||||
# $ python -c 'import twnet_parser.packet'
|
||||
from twnet_parser import packer
|
||||
|
||||
# TODO: what is a nice pythonic way of storing those?
|
||||
# also does some version:: namespace thing make sense?
|
||||
|
|
Loading…
Reference in a new issue