6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2025-01-24 14:08:23 +00:00

Merge remote-tracking branch 'origin/master' into nightly

This commit is contained in:
Overhang.IO 2024-06-10 15:35:46 +00:00
commit 41330ce448
9 changed files with 20 additions and 16 deletions

View File

@ -2,6 +2,7 @@
This module is heavily inspired by Django's djangodocs.py: This module is heavily inspired by Django's djangodocs.py:
https://github.com/django/django/blob/main/docs/_ext/djangodocs.py https://github.com/django/django/blob/main/docs/_ext/djangodocs.py
""" """
from sphinx.application import Sphinx from sphinx.application import Sphinx

View File

@ -18,13 +18,13 @@ click==8.1.7
# via -r requirements/base.in # via -r requirements/base.in
google-auth==2.23.3 google-auth==2.23.3
# via kubernetes # via kubernetes
idna==3.4 idna==3.7
# via requests # via requests
importlib-metadata==7.0.1 importlib-metadata==7.0.1
# via -r requirements/base.in # via -r requirements/base.in
importlib-resources==6.1.1 importlib-resources==6.1.1
# via -r requirements/base.in # via -r requirements/base.in
jinja2==3.1.3 jinja2==3.1.4
# via -r requirements/base.in # via -r requirements/base.in
kubernetes==28.1.0 kubernetes==28.1.0
# via -r requirements/base.in # via -r requirements/base.in
@ -52,7 +52,7 @@ pyyaml==6.0.1
# via # via
# -r requirements/base.in # -r requirements/base.in
# kubernetes # kubernetes
requests==2.31.0 requests==2.32.3
# via # via
# kubernetes # kubernetes
# requests-oauthlib # requests-oauthlib

View File

@ -12,7 +12,7 @@ astroid==3.0.1
# via pylint # via pylint
attrs==23.1.0 attrs==23.1.0
# via scriv # via scriv
black==23.10.1 black==24.4.2
# via -r requirements/dev.in # via -r requirements/dev.in
build==1.0.3 build==1.0.3
# via pip-tools # via pip-tools
@ -42,7 +42,7 @@ click-log==0.4.0
# via scriv # via scriv
coverage==7.3.2 coverage==7.3.2
# via -r requirements/dev.in # via -r requirements/dev.in
cryptography==42.0.3 cryptography==42.0.8
# via secretstorage # via secretstorage
dill==0.3.7 dill==0.3.7
# via pylint # via pylint
@ -54,7 +54,7 @@ google-auth==2.23.3
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# kubernetes # kubernetes
idna==3.4 idna==3.7
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# requests # requests
@ -77,7 +77,7 @@ jeepney==0.8.0
# via # via
# keyring # keyring
# secretstorage # secretstorage
jinja2==3.1.3 jinja2==3.1.4
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# scriv # scriv
@ -163,7 +163,7 @@ pyyaml==6.0.1
# kubernetes # kubernetes
readme-renderer==42.0 readme-renderer==42.0
# via twine # via twine
requests==2.31.0 requests==2.32.3
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# kubernetes # kubernetes

View File

@ -36,7 +36,7 @@ google-auth==2.23.3
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# kubernetes # kubernetes
idna==3.4 idna==3.7
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# requests # requests
@ -48,7 +48,7 @@ importlib-metadata==7.0.1
# sphinx # sphinx
importlib-resources==6.1.1 importlib-resources==6.1.1
# via -r requirements/base.txt # via -r requirements/base.txt
jinja2==3.1.3 jinja2==3.1.4
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# sphinx # sphinx
@ -94,7 +94,7 @@ pyyaml==6.0.1
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# kubernetes # kubernetes
requests==2.31.0 requests==2.32.3
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# kubernetes # kubernetes

View File

@ -1,6 +1,7 @@
""" """
Common jobs that must be added both to local, dev and k8s commands. Common jobs that must be added both to local, dev and k8s commands.
""" """
from __future__ import annotations from __future__ import annotations
import functools import functools

View File

@ -6,8 +6,8 @@ import shutil
import typing as t import typing as t
from copy import deepcopy from copy import deepcopy
import jinja2
import importlib_resources import importlib_resources
import jinja2
from tutor import exceptions, fmt, hooks, plugins, utils from tutor import exceptions, fmt, hooks, plugins, utils
from tutor.__about__ import __app__, __version__ from tutor.__about__ import __app__, __version__

View File

@ -1,8 +1,8 @@
# The Tutor plugin system is licensed under the terms of the Apache 2.0 license. # The Tutor plugin system is licensed under the terms of the Apache 2.0 license.
__license__ = "Apache 2.0" __license__ = "Apache 2.0"
import typing as t
import functools import functools
import typing as t
from typing_extensions import ParamSpec from typing_extensions import ParamSpec

View File

@ -2,6 +2,7 @@
List of all the action, filter and context names used across Tutor. This module is used List of all the action, filter and context names used across Tutor. This module is used
to generate part of the reference documentation. to generate part of the reference documentation.
""" """
from __future__ import annotations from __future__ import annotations
# The Tutor plugin system is licensed under the terms of the Apache 2.0 license. # The Tutor plugin system is licensed under the terms of the Apache 2.0 license.
@ -197,9 +198,9 @@ class Filters:
#: added as subcommands to the ``local/dev/k8s do`` commands. They must return a list of #: added as subcommands to the ``local/dev/k8s do`` commands. They must return a list of
#: ("service name", "service command") tuples. Each "service command" will be executed #: ("service name", "service command") tuples. Each "service command" will be executed
#: in the "service" container, both in local, dev and k8s mode. #: in the "service" container, both in local, dev and k8s mode.
CLI_DO_COMMANDS: Filter[ CLI_DO_COMMANDS: Filter[list[Callable[[Any], Iterable[tuple[str, str]]]], []] = (
list[Callable[[Any], Iterable[tuple[str, str]]]], [] Filter()
] = Filter() )
#: List of initialization tasks (scripts) to be run in the ``init`` job. This job #: List of initialization tasks (scripts) to be run in the ``init`` job. This job
#: includes all database migrations, setting up, etc. To run some tasks before or #: includes all database migrations, setting up, etc. To run some tasks before or

View File

@ -1,6 +1,7 @@
""" """
Provide API for plugin features. Provide API for plugin features.
""" """
from __future__ import annotations from __future__ import annotations
import functools import functools