diff --git a/odoo-stubs/cli/__init__.pyi b/odoo-stubs/cli/__init__.pyi deleted file mode 100644 index ecba522..0000000 --- a/odoo-stubs/cli/__init__.pyi +++ /dev/null @@ -1 +0,0 @@ -from command import Command as Command, main as main diff --git a/odoo-stubs/cli/command.pyi b/odoo-stubs/cli/command.pyi deleted file mode 100644 index 2e56828..0000000 --- a/odoo-stubs/cli/command.pyi +++ /dev/null @@ -1,15 +0,0 @@ -from typing import Any - -commands: Any - -class CommandType(type): - def __init__(cls, name, bases, attrs) -> None: ... - -class Command: - __metaclass__: Any - def run(self, args) -> None: ... - -class Help(Command): - def run(self, args) -> None: ... - -def main() -> None: ... diff --git a/odoo-stubs/cli/deploy.pyi b/odoo-stubs/cli/deploy.pyi deleted file mode 100644 index 644d1ba..0000000 --- a/odoo-stubs/cli/deploy.pyi +++ /dev/null @@ -1,11 +0,0 @@ -from . import Command -from typing import Any - -class Deploy(Command): - session: Any - def __init__(self) -> None: ... - def deploy_module(self, module_path, url, login, password, db: str = ..., force: bool = ...): ... - def upload_module(self, server, module_file, force: bool = ..., csrf_token: Any | None = ...): ... - def authenticate(self, server, login, password, db: str = ...): ... - def zip_module(self, path): ... - def run(self, cmdargs) -> None: ... diff --git a/odoo-stubs/cli/scaffold.pyi b/odoo-stubs/cli/scaffold.pyi deleted file mode 100644 index ff10ad4..0000000 --- a/odoo-stubs/cli/scaffold.pyi +++ /dev/null @@ -1,25 +0,0 @@ -from . import Command -from typing import Any - -class Scaffold(Command): - def run(self, cmdargs) -> None: ... - def epilog(self): ... - -builtins: Any - -def snake(s): ... -def pascal(s): ... -def directory(p, create: bool = ...): ... - -env: Any - -class template: - id: Any - path: Any - def __init__(self, identifier) -> None: ... - def __str__(self): ... - def files(self) -> None: ... - def render_to(self, modname, directory, params: Any | None = ...) -> None: ... - -def die(message, code: int = ...) -> None: ... -def warn(message) -> None: ... diff --git a/odoo-stubs/cli/server.pyi b/odoo-stubs/cli/server.pyi deleted file mode 100644 index 761dd46..0000000 --- a/odoo-stubs/cli/server.pyi +++ /dev/null @@ -1,18 +0,0 @@ -from . import Command -from typing import Any - -__author__: Any -__version__: Any -_logger: Any - -def check_root_user() -> None: ... -def check_postgres_user() -> None: ... -def report_configuration() -> None: ... -def rm_pid_file(main_pid) -> None: ... -def setup_pid_file() -> None: ... -def export_translation() -> None: ... -def import_translation() -> None: ... -def main(args) -> None: ... - -class Server(Command): - def run(self, args) -> None: ... diff --git a/odoo-stubs/cli/shell.pyi b/odoo-stubs/cli/shell.pyi deleted file mode 100644 index 62df714..0000000 --- a/odoo-stubs/cli/shell.pyi +++ /dev/null @@ -1,21 +0,0 @@ -import code -from . import Command -from typing import Any - -_logger: Any - -def raise_keyboard_interrupt(*a) -> None: ... - -class Console(code.InteractiveConsole): - def __init__(self, locals: Any | None = ..., filename: str = ...) -> None: ... - -class Shell(Command): - supported_shells: Any - def init(self, args) -> None: ... - def console(self, local_vars): ... - def ipython(self, local_vars) -> None: ... - def ptpython(self, local_vars) -> None: ... - def bpython(self, local_vars) -> None: ... - def python(self, local_vars) -> None: ... - def shell(self, dbname) -> None: ... - def run(self, args): ... diff --git a/odoo-stubs/cli/start.pyi b/odoo-stubs/cli/start.pyi deleted file mode 100644 index f60e6f0..0000000 --- a/odoo-stubs/cli/start.pyi +++ /dev/null @@ -1,7 +0,0 @@ -from . import Command - -class Start(Command): - def get_module_list(self, path): ... - def run(self, cmdargs): ... - -def die(message, code: int = ...) -> None: ... diff --git a/odoo-stubs/tools/win32.pyi b/odoo-stubs/tools/win32.pyi deleted file mode 100644 index 1c86d46..0000000 --- a/odoo-stubs/tools/win32.pyi +++ /dev/null @@ -1 +0,0 @@ -def nl_langinfo(param): ...