Skip to content

Commit

Permalink
Merge pull request #50 from madeddie/small_fixes
Browse files Browse the repository at this point in the history
Fix linter error and reorg badges
  • Loading branch information
madeddie authored May 23, 2024
2 parents 51bd278 + e6f7cac commit a005a47
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ wheels/

# testing files
.coverage
pyrightconfig.json
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/tyora/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit a005a47

Please sign in to comment.