codecov-io: # [Codecov](https://codecov.io/gh/repobee/repobee/pull/236?src=pr&el=h1) Report
> Merging [#236](https://codecov.io/gh/repobee/repobee/pull/236?src=pr&el=desc) into [master](https://codecov.io/gh/repobee/repobee/commit/84c67ecda42c69af8e70dd645c6834dd5523dfd1?src=pr&el=desc) will **decrease** coverage by `0.06%`.
> The diff coverage is `100%`.

[![Impacted file tree graph](https://codecov.io/gh/repobee/repobee/pull/236/graphs/tree.svg?width=650&token=5vOKgkphZe&height=150&src=pr)](https://codecov.io/gh/repobee/repobee/pull/236?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master     #236      +/-   ##
==========================================
- Coverage    91.4%   91.34%   -0.07%     
==========================================
  Files          19       19              
  Lines        1315     1328      +13     
  Branches      238      241       +3     
==========================================
+ Hits         1202     1213      +11     
- Misses         93       95       +2     
  Partials       20       20
```


| [Impacted Files](https://codecov.io/gh/repobee/repobee/pull/236?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [repobee/cli.py](https://codecov.io/gh/repobee/repobee/pull/236/diff?src=pr&el=tree#diff-cmVwb2JlZS9jbGkucHk=) | `95.63% <100%> (-0.62%)` | :arrow_down: |
| [repobee/config.py](https://codecov.io/gh/repobee/repobee/pull/236/diff?src=pr&el=tree#diff-cmVwb2JlZS9jb25maWcucHk=) | `100% <100%> (ø)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/repobee/repobee/pull/236?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/repobee/repobee/pull/236?src=pr&el=footer). Last update [84c67ec...363204c](https://codecov.io/gh/repobee/repobee/pull/236?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

diff --git a/repobee/cli.py b/repobee/cli.py
index 6732cef..6b4abcc 100644
--- a/repobee/cli.py
+++ b/repobee/cli.py
@@ -83,7 +83,6 @@ PURGE_REVIEW_TEAMS_PARSER = "purge-review-teams"
 CHECK_REVIEW_PROGRESS_PARSER = "check-reviews"
 SHOW_CONFIG_PARSER = "show-config"
 
-
 PARSER_NAMES = (
     SETUP_PARSER,
     UPDATE_PARSER,
@@ -348,6 +347,7 @@ def _add_peer_review_parsers(base_parsers, subparsers):
         ),
         help="Randomly assign students to peer review each others' repos.",
         parents=base_parsers,
+        formatter_class=_OrderedFormatter,
     )
     assign_parser.add_argument(
         "-n",
@@ -376,6 +376,7 @@ def _add_peer_review_parsers(base_parsers, subparsers):
         help="Remove all review teams associated with the specified "
         "students and master repos.",
         parents=base_parsers,
+        formatter_class=_OrderedFormatter,
     )
     check_review_progress = subparsers.add_parser(
         CHECK_REVIEW_PROGRESS_PARSER,
@@ -393,6 +394,7 @@ def _add_peer_review_parsers(base_parsers, subparsers):
             "have been opened)."
         ),
         parents=base_parsers,
+        formatter_class=_OrderedFormatter,
     )
     check_review_progress.add_argument(
         "-r",
@@ -429,6 +431,7 @@ def _add_issue_parsers(base_parsers, subparsers):
         ),
         help="Open issues in student repos.",
         parents=base_parsers,
+        formatter_class=_OrderedFormatter,
     )
     open_parser.add_argument(
         "-i",
@@ -448,6 +451,7 @@ def _add_issue_parsers(base_parsers, subparsers):
         ),
         help="Close issues in student repos.",
         parents=base_parsers,
+        formatter_class=_OrderedFormatter,
     )
     close_parser.add_argument(
         "-r",
@@ -465,6 +469,7 @@ def _add_issue_parsers(base_parsers, subparsers):
         description="List issues in student repos.",
         help="List issues in student repos.",
         parents=base_parsers,
+        formatter_class=_OrderedFormatter,
     )
     list_parser.add_argument(
         "-r",
@@ -512,6 +517,51 @@ def _add_issue_parsers(base_parsers, subparsers):
     list_parser.set_defaults(state="open")
 
 
+class _OrderedFormatter(argparse.HelpFormatter):
+    """A formatter class for putting out the help section in a proper order.
+    All of the arguments that are configurable in the configuration file
+    should appear at the bottom (in arbitrary, but always the same, order).
+    Any other arguments should appear in the order they are added.
+
+    The internals of the formatter classes are technically not public,
+    so this class is "unsafe" when it comes to new versions of Python. It may
+    have to be disabled for future versions, but it works for 3.5, 3.6 and 3.7
+    at the time of writing. If this turns troublesome, it may be time to
+    switch to some other CLI library.
+    """
+
+    def add_arguments(self, actions):
+        """Order actions by the name  of the long argument, and then add them
+        as arguments.
+
+        The order is the following:
+
+        [ NON-CONFIGURABLE | CONFIGURABLE | DEBUG ]
+
+        Non-configurable arguments added without modification, which by
+        default is the order they are added to the parser. Configurable
+        arguments are added in the order defined by
+        :py:const:`config.ORDERED_CONFIGURABLE_ARGS`. Finally, debug commands
+        (such as ``--traceback``) are added in arbitrary (but consistent)
+        order.
+        """
+        args_order = tuple(
+            "--" + name.replace("_", "-")
+            for name in config.ORDERED_CONFIGURABLE_ARGS
+        ) + ("--traceback",)
+
+        def key(action):
+            if len(action.option_strings) < 2:
+                return -1
+            long_arg = action.option_strings[1]
+            if long_arg in args_order:
+                return args_order.index(long_arg)
+            return -1
+
+        actions = sorted(actions, key=key)
+        super().add_arguments(actions)
+
+
 def _create_parser():
     """Create the parser."""
 
@@ -522,6 +572,7 @@ def _create_parser():
             "on GitHub instances. See the full documentation at "
             "https://repobee.readthedocs.io"
         ),
+        formatter_class=_OrderedFormatter,
     )
     parser.add_argument(
         "-v",
@@ -570,6 +621,7 @@ def _add_subparsers(parser):
             "file can be found, show the path where repobee expectes to find "
             "it."
         ),
+        formatter_class=_OrderedFormatter,
     )
 
     subparsers.add_parser(
@@ -590,6 +642,7 @@ def _add_subparsers(parser):
             master_org_parser,
             repo_name_parser,
         ],
+        formatter_class=_OrderedFormatter,
     )
 
     update = subparsers.add_parser(
@@ -602,6 +655,7 @@ def _add_subparsers(parser):
             master_org_parser,
             repo_name_parser,
         ],
+        formatter_class=_OrderedFormatter,
     )
     update.add_argument(
         "-i",
@@ -622,6 +676,7 @@ def _add_subparsers(parser):
             "migrated repos will be private."
         ),
         parents=[repo_name_parser, base_user_parser],
+        formatter_class=_OrderedFormatter,
     )
 
     clone = subparsers.add_parser(
@@ -629,6 +684,7 @@ def _add_subparsers(parser):
         help="Clone student repos.",
         description="Clone student repos asynchronously in bulk.",
         parents=[base_student_parser, repo_name_parser],
+        formatter_class=_OrderedFormatter,
     )
 
     plug.manager.hook.clone_parser_hook(clone_parser=clone)
@@ -655,6 +711,7 @@ def _add_subparsers(parser):
             "message is displayed."
         ),
         parents=[base_parser, base_user_parser, master_org_parser],
+        formatter_class=_OrderedFormatter,
     )
 
 
diff --git a/repobee/config.py b/repobee/config.py
index 831d3c6..eb6526b 100644
--- a/repobee/config.py
+++ b/repobee/config.py
@@ -30,17 +30,16 @@ DEFAULT_CONFIG_FILE = CONFIG_DIR / "config.cnf"
 assert DEFAULT_CONFIG_FILE.is_absolute()
 
 # arguments that can be configured via config file
-CONFIGURABLE_ARGS = set(
-    (
-        "user",
-        "org_name",
-        "github_base_url",
-        "students_file",
-        "plugins",
-        "master_org_name",
-        "token",
-    )
+ORDERED_CONFIGURABLE_ARGS = (
+    "user",
+    "org_name",
+    "github_base_url",
+    "students_file",
+    "plugins",
+    "master_org_name",
+    "token",
 )
+CONFIGURABLE_ARGS = set(ORDERED_CONFIGURABLE_ARGS)
 
 
 def get_configured_defaults(

Reorder CLI arguments
Some of the commands have really weird ordering of CLI arguments. They should be reordered such that the important settings come first, to the extent that's possible.
diff --git a/tests/test_cli.py b/tests/test_cli.py
index 82cf186..8bb9f8a 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -289,6 +289,30 @@ class TestDispatchCommand:
         )
 
 
+@pytest.mark.parametrize("parser", cli.PARSER_NAMES)
+def test_help_calls_add_arguments(monkeypatch, parser):
+    """Test that the --help command causes _OrderedFormatter.add_arguments to
+    be called. The reason this may not be the case is that
+    HelpFormatter.add_arguments is not technically public, and so it could be
+    removed or changed in future versions of Python.
+    """
+    called = False
+    add_arguments = cli._OrderedFormatter.add_arguments
+
+    def wrapper(self, *args, **kwargs):
+        nonlocal called
+        called = True
+        add_arguments(self, *args, **kwargs)
+
+    monkeypatch.setattr("repobee.cli._OrderedFormatter.add_arguments", wrapper)
+
+    with pytest.raises(SystemExit) as exc_info:
+        cli.parse_args([parser, "--help"])
+
+    assert exc_info.value.code == 0
+    assert called
+
+
 class TestBaseParsing:
     """Test the basic functionality of parsing."""
 

pip install -e .
parse_log_pytest
requirements.txt
pytest pytest-cov pytest-mock codecov
apt-get update apt-get install -y gcc
3.7
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
appdirs==1.4.4
certifi @ file:///croot/certifi_1671487769961/work/certifi
cffi==1.15.1
charset-normalizer==3.4.1
codecov==2.1.13
colored==1.4.4
coverage==7.2.7
cryptography==44.0.2
daiquiri==3.2.1
Deprecated==1.2.18
exceptiongroup==1.2.2
idna==3.10
importlib-metadata==6.7.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.2.0
pycparser==2.21
PyGithub==2.3.0
PyJWT==2.8.0
PyNaCl==1.5.0
pytest==7.4.4
pytest-cov==4.1.0
pytest-mock==3.11.1
python-gitlab==1.8.0
python-json-logger==3.0.1
-e git+https://github.com/repobee/repobee.git@84c67ecda42c69af8e70dd645c6834dd5523dfd1#egg=repobee
repobee-plug==0.5.1
requests==2.31.0
six==1.17.0
tomli==2.0.1
typing_extensions==4.7.1
urllib3==2.0.7
wrapt==1.16.0
zipp==3.15.0

name: repobee
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2022.12.7=py37h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=22.3.1=py37h06a4308_0
  - python=3.7.16=h7a1cb2a_0
  - readline=8.2=h5eee18b_0
  - setuptools=65.6.3=py37h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.38.4=py37h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - appdirs==1.4.4
      - cffi==1.15.1
      - charset-normalizer==3.4.1
      - codecov==2.1.13
      - colored==1.4.4
      - coverage==7.2.7
      - cryptography==44.0.2
      - daiquiri==3.2.1
      - deprecated==1.2.18
      - exceptiongroup==1.2.2
      - idna==3.10
      - importlib-metadata==6.7.0
      - iniconfig==2.0.0
      - packaging==24.0
      - pluggy==1.2.0
      - pycparser==2.21
      - pygithub==2.3.0
      - pyjwt==2.8.0
      - pynacl==1.5.0
      - pytest==7.4.4
      - pytest-cov==4.1.0
      - pytest-mock==3.11.1
      - python-gitlab==1.8.0
      - python-json-logger==3.0.1
      - repobee==1.5.1
      - repobee-plug==0.5.1
      - requests==2.31.0
      - six==1.17.0
      - tomli==2.0.1
      - typing-extensions==4.7.1
      - urllib3==2.0.7
      - wrapt==1.16.0
      - zipp==3.15.0
prefix: /opt/conda/envs/repobee

tests/test_cli.py::test_help_calls_add_arguments[setup] tests/test_cli.py::test_help_calls_add_arguments[update] tests/test_cli.py::test_help_calls_add_arguments[clone] tests/test_cli.py::test_help_calls_add_arguments[migrate] tests/test_cli.py::test_help_calls_add_arguments[open-issues] tests/test_cli.py::test_help_calls_add_arguments[close-issues] tests/test_cli.py::test_help_calls_add_arguments[list-issues] tests/test_cli.py::test_help_calls_add_arguments[verify-settings] tests/test_cli.py::test_help_calls_add_arguments[assign-reviews] tests/test_cli.py::test_help_calls_add_arguments[purge-review-teams] tests/test_cli.py::test_help_calls_add_arguments[show-config] tests/test_cli.py::test_help_calls_add_arguments[check-reviews]
tests/test_cli.py::TestDispatchCommand::test_raises_on_invalid_subparser_value tests/test_cli.py::TestDispatchCommand::test_no_crash_on_valid_args[setup] tests/test_cli.py::TestDispatchCommand::test_no_crash_on_valid_args[update] tests/test_cli.py::TestDispatchCommand::test_no_crash_on_valid_args[clone] tests/test_cli.py::TestDispatchCommand::test_no_crash_on_valid_args[migrate] tests/test_cli.py::TestDispatchCommand::test_no_crash_on_valid_args[open-issues] tests/test_cli.py::TestDispatchCommand::test_no_crash_on_valid_args[close-issues] tests/test_cli.py::TestDispatchCommand::test_no_crash_on_valid_args[list-issues] tests/test_cli.py::TestDispatchCommand::test_no_crash_on_valid_args[verify-settings] tests/test_cli.py::TestDispatchCommand::test_no_crash_on_valid_args[assign-reviews] tests/test_cli.py::TestDispatchCommand::test_no_crash_on_valid_args[purge-review-teams] tests/test_cli.py::TestDispatchCommand::test_no_crash_on_valid_args[show-config] tests/test_cli.py::TestDispatchCommand::test_no_crash_on_valid_args[check-reviews] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[setup-command_all_raise_mock0] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[setup-command_all_raise_mock1] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[setup-command_all_raise_mock2] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[setup-command_all_raise_mock3] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[update-command_all_raise_mock0] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[update-command_all_raise_mock1] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[update-command_all_raise_mock2] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[update-command_all_raise_mock3] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[clone-command_all_raise_mock0] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[clone-command_all_raise_mock1] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[clone-command_all_raise_mock2] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[clone-command_all_raise_mock3] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[migrate-command_all_raise_mock0] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[migrate-command_all_raise_mock1] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[migrate-command_all_raise_mock2] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[migrate-command_all_raise_mock3] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[open-issues-command_all_raise_mock0] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[open-issues-command_all_raise_mock1] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[open-issues-command_all_raise_mock2] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[open-issues-command_all_raise_mock3] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[close-issues-command_all_raise_mock0] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[close-issues-command_all_raise_mock1] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[close-issues-command_all_raise_mock2] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[close-issues-command_all_raise_mock3] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[list-issues-command_all_raise_mock0] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[list-issues-command_all_raise_mock1] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[list-issues-command_all_raise_mock2] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[list-issues-command_all_raise_mock3] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[verify-settings-command_all_raise_mock0] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[verify-settings-command_all_raise_mock1] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[verify-settings-command_all_raise_mock2] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[verify-settings-command_all_raise_mock3] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[assign-reviews-command_all_raise_mock0] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[assign-reviews-command_all_raise_mock1] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[assign-reviews-command_all_raise_mock2] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[assign-reviews-command_all_raise_mock3] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[purge-review-teams-command_all_raise_mock0] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[purge-review-teams-command_all_raise_mock1] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[purge-review-teams-command_all_raise_mock2] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[purge-review-teams-command_all_raise_mock3] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[show-config-command_all_raise_mock0] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[show-config-command_all_raise_mock1] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[show-config-command_all_raise_mock2] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[show-config-command_all_raise_mock3] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[check-reviews-command_all_raise_mock0] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[check-reviews-command_all_raise_mock1] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[check-reviews-command_all_raise_mock2] tests/test_cli.py::TestDispatchCommand::test_expected_exception_results_in_system_exit[check-reviews-command_all_raise_mock3] tests/test_cli.py::TestDispatchCommand::test_setup_student_repos_called_with_correct_args tests/test_cli.py::TestDispatchCommand::test_update_student_repos_called_with_correct_args tests/test_cli.py::TestDispatchCommand::test_open_issue_called_with_correct_args tests/test_cli.py::TestDispatchCommand::test_close_issue_called_with_correct_args tests/test_cli.py::TestDispatchCommand::test_migrate_repos_called_with_correct_args tests/test_cli.py::TestDispatchCommand::test_clone_repos_called_with_correct_args tests/test_cli.py::TestDispatchCommand::test_verify_settings_called_with_correct_args tests/test_cli.py::TestDispatchCommand::test_verify_settings_called_with_master_org_name tests/test_cli.py::TestBaseParsing::test_raises_on_invalid_org tests/test_cli.py::TestBaseParsing::test_raises_on_bad_credentials tests/test_cli.py::TestBaseParsing::test_raises_on_invalid_base_url tests/test_cli.py::TestBaseParsing::test_master_org_overrides_target_org_for_master_repos[setup] tests/test_cli.py::TestBaseParsing::test_master_org_overrides_target_org_for_master_repos[update] tests/test_cli.py::TestBaseParsing::test_master_org_name_defaults_to_org_name[setup] tests/test_cli.py::TestBaseParsing::test_master_org_name_defaults_to_org_name[update] tests/test_cli.py::TestBaseParsing::test_token_env_variable_picked_up[setup] tests/test_cli.py::TestBaseParsing::test_token_env_variable_picked_up[update] tests/test_cli.py::TestBaseParsing::test_token_cli_arg_picked_up[setup] tests/test_cli.py::TestBaseParsing::test_token_cli_arg_picked_up[update] tests/test_cli.py::TestBaseParsing::test_raises_on_non_tls_api_url[http://some_enterprise_host/api/v3] tests/test_cli.py::TestBaseParsing::test_raises_on_non_tls_api_url[ftp://some_enterprise_host/api/v3] tests/test_cli.py::TestBaseParsing::test_raises_on_non_tls_api_url[some_enterprise_host/api/v3] tests/test_cli.py::TestStudentParsing::test_raises_if_students_file_is_not_a_file[setup|['-u', tests/test_cli.py::TestStudentParsing::test_raises_if_students_file_is_not_a_file[update|['-u', tests/test_cli.py::TestStudentParsing::test_raises_if_students_file_is_not_a_file[close-issues|['-mn', tests/test_cli.py::TestStudentParsing::test_raises_if_students_file_is_not_a_file[open-issues|['-mn', tests/test_cli.py::TestStudentParsing::test_parser_listing_students[setup|['-u', tests/test_cli.py::TestStudentParsing::test_parser_listing_students[update|['-u', tests/test_cli.py::TestStudentParsing::test_parser_listing_students[close-issues|['-mn', tests/test_cli.py::TestStudentParsing::test_parser_listing_students[open-issues|['-mn', tests/test_cli.py::TestStudentParsing::test_parser_student_file[setup|['-u', tests/test_cli.py::TestStudentParsing::test_parser_student_file[update|['-u', tests/test_cli.py::TestStudentParsing::test_parser_student_file[close-issues|['-mn', tests/test_cli.py::TestStudentParsing::test_parser_student_file[open-issues|['-mn', tests/test_cli.py::TestStudentParsing::test_student_parsers_raise_on_empty_student_file[setup|['-u', tests/test_cli.py::TestStudentParsing::test_student_parsers_raise_on_empty_student_file[update|['-u', tests/test_cli.py::TestStudentParsing::test_student_parsers_raise_on_empty_student_file[close-issues|['-mn', tests/test_cli.py::TestStudentParsing::test_student_parsers_raise_on_empty_student_file[open-issues|['-mn', tests/test_cli.py::TestStudentParsing::test_parsers_raise_if_both_file_and_listing[setup|['-u', tests/test_cli.py::TestStudentParsing::test_parsers_raise_if_both_file_and_listing[update|['-u', tests/test_cli.py::TestStudentParsing::test_parsers_raise_if_both_file_and_listing[close-issues|['-mn', tests/test_cli.py::TestStudentParsing::test_parsers_raise_if_both_file_and_listing[open-issues|['-mn', tests/test_cli.py::TestStudentParsing::test_student_groups_parsed_correcly[setup|['-u', tests/test_cli.py::TestStudentParsing::test_student_groups_parsed_correcly[update|['-u', tests/test_cli.py::TestStudentParsing::test_student_groups_parsed_correcly[close-issues|['-mn', tests/test_cli.py::TestStudentParsing::test_student_groups_parsed_correcly[open-issues|['-mn', tests/test_cli.py::TestStudentParsing::test_raises_if_generated_team_name_too_long[setup|['-u', tests/test_cli.py::TestStudentParsing::test_raises_if_generated_team_name_too_long[update|['-u', tests/test_cli.py::TestStudentParsing::test_raises_if_generated_team_name_too_long[close-issues|['-mn', tests/test_cli.py::TestStudentParsing::test_raises_if_generated_team_name_too_long[open-issues|['-mn', tests/test_cli.py::TestConfig::test_full_config[setup-extra_args0] tests/test_cli.py::TestConfig::test_full_config[update-extra_args1] tests/test_cli.py::TestConfig::test_full_config[open-issues-extra_args2] tests/test_cli.py::TestConfig::test_missing_option_is_required[-g] tests/test_cli.py::TestConfig::test_missing_option_is_required[-u] tests/test_cli.py::TestConfig::test_missing_option_is_required[-sf] tests/test_cli.py::TestConfig::test_missing_option_is_required[-o] tests/test_cli.py::TestConfig::test_missing_option_is_required[-mo] tests/test_cli.py::TestConfig::test_missing_option_can_be_specified[-g] tests/test_cli.py::TestConfig::test_missing_option_can_be_specified[-u] tests/test_cli.py::TestConfig::test_missing_option_can_be_specified[-sf] tests/test_cli.py::TestConfig::test_missing_option_can_be_specified[-o] tests/test_cli.py::TestConfig::test_missing_option_can_be_specified[-mo] tests/test_cli.py::TestSetupAndUpdateParsers::test_happy_path[setup] tests/test_cli.py::TestSetupAndUpdateParsers::test_happy_path[update] tests/test_cli.py::TestSetupAndUpdateParsers::test_finds_local_repo[setup] tests/test_cli.py::TestSetupAndUpdateParsers::test_finds_local_repo[update] tests/test_cli.py::TestMigrateParser::test_happy_path tests/test_cli.py::TestVerifyParser::test_happy_path tests/test_cli.py::TestCloneParser::test_happy_path tests/test_cli.py::TestCloneParser::test_no_other_parser_gets_parse_hook[setup-extra_args0] tests/test_cli.py::TestCloneParser::test_no_other_parser_gets_parse_hook[update-extra_args1] tests/test_cli.py::TestCloneParser::test_no_other_parser_gets_parse_hook[open-issues-extra_args2] tests/test_cli.py::TestCloneParser::test_no_other_parser_gets_parse_hook[close-issues-extra_args3] tests/test_cli.py::TestCloneParser::test_no_other_parser_gets_parse_hook[verify-settings-extra_args4] tests/test_cli.py::TestCloneParser::test_no_other_parser_gets_parse_hook[migrate-extra_args5] tests/test_cli.py::TestShowConfigParser::test_happy_path tests/test_cli.py::TestCommandDeprecation::test_deprecated_commands_parsed_to_current_commands[assign-peer-reviews-assign-reviews-sys_args0] tests/test_cli.py::TestCommandDeprecation::test_deprecated_commands_parsed_to_current_commands[purge-peer-review-teams-purge-review-teams-sys_args1] tests/test_cli.py::TestCommandDeprecation::test_deprecated_commands_parsed_to_current_commands[check-peer-review-progress-check-reviews-sys_args2]
repobee/cli.py repobee/config.py
repobee/cli.py repobee/config.py