Issues (10)

sublinput/__init__.py (1 issue)

1
"""An input pygame alternative for sublime text users."""
2
3
from sublinput.ui import InputBoxScreen
4
import builtins
0 ignored issues
show
standard import "import builtins" should be placed before "from sublinput.ui import InputBoxScreen"
Loading history...
5
6
7
def new_input(__prompt: str = '') -> str:
8
    """A function that creates a new input box screen and return it's value."""
9
    with InputBoxScreen() as input_box:
10
        return input_box(__prompt)
11
12
13
builtins.input = new_input
14