diff --git a/.gitignore b/.gitignore index 38fb294..bd3fe8b 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ wheels/ # testing files .coverage +pyrightconfig.json diff --git a/README.md b/README.md index 95a6f16..6da8667 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ # Tyora: mooc.fi CSES exercise task CLI +[![PyPI - Version](https://img.shields.io/pypi/v/tyora?pypiBaseUrl=https%3A%2F%2Ftest.pypi.org&logo=pypi&label=pypitest)](https://test.pypi.org/project/tyora/) +[![Python Version from PEP 621 TOML](https://img.shields.io/python/required-version-toml?tomlFilePath=https%3A%2F%2Fraw.githubusercontent.com%2Fmadeddie%2Ftyora%2Fmain%2Fpyproject.toml&logo=python)](https://github.com/madeddie/tyora/blob/main/pyproject.toml#L15) [![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/madeddie/tyora/ci.yml)](https://github.com/madeddie/tyora/actions/workflows/ci.yml) [![GitHub License](https://img.shields.io/github/license/madeddie/tyora)](https://github.com/madeddie/tyora/blob/main/LICENSE) -[![Python Version from PEP 621 TOML](https://img.shields.io/python/required-version-toml?tomlFilePath=https%3A%2F%2Fraw.githubusercontent.com%2Fmadeddie%2Ftyora%2Fmain%2Fpyproject.toml&logo=python)](https://github.com/madeddie/tyora/blob/main/pyproject.toml#L15) This script interacts with the mooc.fi instance of the CSES (https://cses.fi) website to perform various actions such as logging in, retrieving exercise lists, and submitting solutions. diff --git a/src/tyora/__init__.py b/src/tyora/__init__.py index bdccff8..a18be99 100644 --- a/src/tyora/__init__.py +++ b/src/tyora/__init__.py @@ -133,7 +133,7 @@ def parse_args(args: Optional[list[str]] = None) -> argparse.Namespace: subparsers = parser.add_subparsers(required=True, dest="cmd") # login subparser - parser_login = subparsers.add_parser("login", help="Login to mooc.fi CSES") + subparsers.add_parser("login", help="Login to mooc.fi CSES") # list exercises subparser parser_list = subparsers.add_parser("list", help="List exercises")