feat: add tty/dectest/venv

This commit is contained in:
Shunsuke Shibayama 2023-09-10 03:44:54 +09:00
parent 5d39c17e1e
commit f8a7413953
3 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,13 @@
.TestResults: ClassType
.TestResults.
attempted: Nat
count: Nat
failed: Nat
index: Nat
.testfile!: (
filename := PathLike,
) => .TestResults
.testmod!: (
m := GenericModule,
) => NoneType

View file

@ -0,0 +1,2 @@
.setraw!: (fd: FileLike or Nat, when := Nat) => NoneType
.setcbreak!: (fd: FileLike or Nat, when := Nat) => NoneType

View file

@ -0,0 +1,24 @@
.EnvBuilder!: ClassType
.EnvBuilder!.
__call__: (
system_site_packages := Bool,
clear := Bool,
symlinks := Bool,
upgrade := Bool,
with_pip := Bool,
prompt := Str,
upgrade_deps := Bool,
) -> .EnvBuilder!
create!: (self: .EnvBuilder!, env_dir: PathLike) => NoneType
.create!: (
env_dir: PathLike,
system_site_packages := Bool,
clear := Bool,
symlinks := Bool,
upgrade := Bool,
with_pip := Bool,
prompt := Str,
upgrade_deps := Bool
) => NoneType