Bombsquad-Ballistica-Modded.../dist/dummymodules/_batemplatefs.py

61 lines
1.7 KiB
Python
Raw Normal View History

2023-08-20 17:48:36 +05:30
# Released under the MIT License. See LICENSE for details.
#
"""A dummy stub module for the real _batemplatefs.
The real _batemplatefs is a compiled extension module and only available
in the live engine. This dummy-module allows Pylint/Mypy/etc. to
function reasonably well outside of that environment.
Make sure this file is never included in dirs seen by the engine!
In the future perhaps this can be a stub (.pyi) file, but we will need
to make sure that it works with all our tools (mypy, pylint, pycharm).
NOTE: This file was autogenerated by batools.dummymodule; do not edit by hand.
"""
# I'm sorry Pylint. I know this file saddens you. Be strong.
# pylint: disable=useless-suppression
# pylint: disable=unnecessary-pass
# pylint: disable=use-dict-literal
# pylint: disable=use-list-literal
# pylint: disable=unused-argument
# pylint: disable=missing-docstring
# pylint: disable=too-many-locals
# pylint: disable=redefined-builtin
# pylint: disable=too-many-lines
# pylint: disable=redefined-outer-name
# pylint: disable=invalid-name
# pylint: disable=no-value-for-parameter
from __future__ import annotations
from typing import TYPE_CHECKING, TypeVar
2024-03-10 17:34:02 +05:30
from typing_extensions import override
2023-08-20 17:48:36 +05:30
if TYPE_CHECKING:
from typing import Any, Callable
_T = TypeVar('_T')
def _uninferrable() -> Any:
"""Get an "Any" in mypy and "uninferrable" in Pylint."""
# pylint: disable=undefined-variable
return _not_a_real_variable # type: ignore
class Hello:
"""Simple example."""
2023-12-21 18:29:02 +05:30
def testmethod(self, val: int = 0) -> None:
"""Just testing."""
return None
2023-08-20 17:48:36 +05:30
def hello_again_world() -> None:
"""Another hello world print."""
return None