• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

WenjieDu / PyPOTS / 9560133362

18 Jun 2024 06:31AM UTC coverage: 82.838% (-1.2%) from 84.002%
9560133362

push

github

web-flow
Merge pull request #433 from WenjieDu/(feat)add_reformer

Add Reformer as an imputation model

411 of 660 new or added lines in 10 files covered. (62.27%)

2 existing lines in 2 files now uncovered.

10069 of 12155 relevant lines covered (82.84%)

2.48 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/pypots/cli/pypots_cli.py
1
"""
2
PyPOTS CLI (Command Line Interface) tool
3
"""
4

5
# Created by Wenjie Du <wenjay.du@gmail.com>
6
# License: BSD-3-Clause
7

8
from argparse import ArgumentParser
×
9

10
from .dev import DevCommand
×
11
from .doc import DocCommand
×
12
from .env import EnvCommand
×
13
from .tuning import TuningCommand
×
14

15

16
def main():
×
17
    parser = ArgumentParser(
×
18
        "PyPOTS Command-Line-Interface tool", usage="pypots-cli <command> [<args>]"
19
    )
20
    commands_parser = parser.add_subparsers(help="pypots-cli command helpers")
×
21

22
    # Register commands here
23
    DevCommand.register_subcommand(commands_parser)
×
24
    DocCommand.register_subcommand(commands_parser)
×
25
    EnvCommand.register_subcommand(commands_parser)
×
26
    TuningCommand.register_subcommand(commands_parser)
×
27

28
    # parse all arguments
29
    args = parser.parse_args()
×
30

31
    if not hasattr(args, "func"):
×
32
        parser.print_help()
×
33
        exit(1)
×
34

35
    # then run
36
    service = args.func(args)
×
37
    service.run()
×
38

39

40
if __name__ == "__main__":
×
41
    main()
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc