mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-03-28 01:16:42 +00:00
Fix data_structures to pass our Travis CI pytests (#1088)
* Fix data_structures to pass pytests * Restore data_structures/stacks/__init__.py
This commit is contained in:
parent
4a5589f4fc
commit
7b267e5e4f
@ -11,8 +11,6 @@ script:
|
|||||||
- scripts/validate_filenames.py # no uppercase and no spaces
|
- scripts/validate_filenames.py # no uppercase and no spaces
|
||||||
- mypy --ignore-missing-imports .
|
- mypy --ignore-missing-imports .
|
||||||
- pytest . --doctest-modules
|
- pytest . --doctest-modules
|
||||||
--ignore=data_structures/stacks/balanced_parentheses.py
|
|
||||||
--ignore=data_structures/stacks/infix_to_postfix_conversion.py
|
|
||||||
--ignore=file_transfer_protocol/ftp_send_receive.py
|
--ignore=file_transfer_protocol/ftp_send_receive.py
|
||||||
--ignore=file_transfer_protocol/ftp_client_server.py
|
--ignore=file_transfer_protocol/ftp_client_server.py
|
||||||
--ignore=machine_learning/linear_regression.py
|
--ignore=machine_learning/linear_regression.py
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
from __future__ import absolute_import
|
from __future__ import absolute_import
|
||||||
from stack import Stack
|
|
||||||
|
from .stack import Stack
|
||||||
|
|
||||||
__author__ = 'Omkar Pathak'
|
__author__ = 'Omkar Pathak'
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ from __future__ import print_function
|
|||||||
from __future__ import absolute_import
|
from __future__ import absolute_import
|
||||||
import string
|
import string
|
||||||
|
|
||||||
from stack import Stack
|
from .stack import Stack
|
||||||
|
|
||||||
__author__ = 'Omkar Pathak'
|
__author__ = 'Omkar Pathak'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user