mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-13 22:48:20 +00:00
33e4f33afe
Now that the mypy bugs have been resolved, we are able to define more precisely and cleanly the types of Actions and Filters. Moreover, can now strongly type named actions and hooks (in consts.py). With such a strong typing, we get early alerts of hooks called with incorrect arguments, which is nothing short of awesome :) This change breaks the hooks API by removing the `context=...` argument. The reason for that is that we cannot insert arbitrary arguments between `P.args, P.kwargs`: https://peps.python.org/pep-0612/#the-components-of-a-paramspec > A function declared as def inner(a: A, b: B, *args: P.args, **kwargs: > P.kwargs) -> R has type Callable[Concatenate[A, B, P], R]. Placing > keyword-only parameters between the *args and **kwargs is forbidden. Getting the documentation to build in nitpicky mode is quite difficult... We need to add `nitpick_ignore` to the docs conf.py, otherwise sphinx complains about many missing class references. This, despite upgrading almost all doc requirements (except docutils).
225 lines
4.3 KiB
Plaintext
225 lines
4.3 KiB
Plaintext
#
|
|
# This file is autogenerated by pip-compile with python 3.8
|
|
# To update, run:
|
|
#
|
|
# pip-compile requirements/dev.in
|
|
#
|
|
altgraph==0.17.3
|
|
# via pyinstaller
|
|
appdirs==1.4.4
|
|
# via -r requirements/base.txt
|
|
astroid==2.12.12
|
|
# via pylint
|
|
black==22.10.0
|
|
# via -r requirements/dev.in
|
|
bleach==5.0.1
|
|
# via readme-renderer
|
|
build==0.9.0
|
|
# via pip-tools
|
|
cachetools==5.2.0
|
|
# via
|
|
# -r requirements/base.txt
|
|
# google-auth
|
|
certifi==2022.9.24
|
|
# via
|
|
# -r requirements/base.txt
|
|
# kubernetes
|
|
# requests
|
|
cffi==1.15.1
|
|
# via cryptography
|
|
charset-normalizer==2.1.1
|
|
# via
|
|
# -r requirements/base.txt
|
|
# requests
|
|
click==8.1.3
|
|
# via
|
|
# -r requirements/base.txt
|
|
# black
|
|
# pip-tools
|
|
commonmark==0.9.1
|
|
# via rich
|
|
coverage==6.5.0
|
|
# via -r requirements/dev.in
|
|
cryptography==38.0.3
|
|
# via secretstorage
|
|
dill==0.3.6
|
|
# via pylint
|
|
docutils==0.17.1
|
|
# via
|
|
# -r requirements/dev.in
|
|
# readme-renderer
|
|
google-auth==2.14.1
|
|
# via
|
|
# -r requirements/base.txt
|
|
# kubernetes
|
|
idna==3.4
|
|
# via
|
|
# -r requirements/base.txt
|
|
# requests
|
|
importlib-metadata==5.0.0
|
|
# via
|
|
# keyring
|
|
# twine
|
|
isort==5.10.1
|
|
# via pylint
|
|
jaraco-classes==3.2.3
|
|
# via keyring
|
|
jeepney==0.8.0
|
|
# via
|
|
# keyring
|
|
# secretstorage
|
|
jinja2==3.1.2
|
|
# via -r requirements/base.txt
|
|
keyring==23.11.0
|
|
# via twine
|
|
kubernetes==25.3.0
|
|
# via -r requirements/base.txt
|
|
lazy-object-proxy==1.8.0
|
|
# via astroid
|
|
markupsafe==2.1.1
|
|
# via
|
|
# -r requirements/base.txt
|
|
# jinja2
|
|
mccabe==0.7.0
|
|
# via pylint
|
|
more-itertools==9.0.0
|
|
# via jaraco-classes
|
|
mypy==0.990
|
|
# via -r requirements/base.txt
|
|
mypy-extensions==0.4.3
|
|
# via
|
|
# -r requirements/base.txt
|
|
# black
|
|
# mypy
|
|
oauthlib==3.2.2
|
|
# via
|
|
# -r requirements/base.txt
|
|
# requests-oauthlib
|
|
packaging==21.3
|
|
# via build
|
|
pathspec==0.10.1
|
|
# via black
|
|
pep517==0.13.0
|
|
# via build
|
|
pip-tools==6.9.0
|
|
# via -r requirements/dev.in
|
|
pkginfo==1.8.3
|
|
# via twine
|
|
platformdirs==2.5.3
|
|
# via
|
|
# black
|
|
# pylint
|
|
pyasn1==0.4.8
|
|
# via
|
|
# -r requirements/base.txt
|
|
# pyasn1-modules
|
|
# rsa
|
|
pyasn1-modules==0.2.8
|
|
# via
|
|
# -r requirements/base.txt
|
|
# google-auth
|
|
pycparser==2.21
|
|
# via cffi
|
|
pycryptodome==3.15.0
|
|
# via -r requirements/base.txt
|
|
pygments==2.13.0
|
|
# via
|
|
# readme-renderer
|
|
# rich
|
|
pyinstaller==5.6.2
|
|
# via -r requirements/dev.in
|
|
pyinstaller-hooks-contrib==2022.13
|
|
# via pyinstaller
|
|
pylint==2.15.5
|
|
# via -r requirements/dev.in
|
|
pyparsing==3.0.9
|
|
# via packaging
|
|
python-dateutil==2.8.2
|
|
# via
|
|
# -r requirements/base.txt
|
|
# kubernetes
|
|
pyyaml==6.0
|
|
# via
|
|
# -r requirements/base.txt
|
|
# kubernetes
|
|
readme-renderer==37.3
|
|
# via twine
|
|
requests==2.28.1
|
|
# via
|
|
# -r requirements/base.txt
|
|
# kubernetes
|
|
# requests-oauthlib
|
|
# requests-toolbelt
|
|
# twine
|
|
requests-oauthlib==1.3.1
|
|
# via
|
|
# -r requirements/base.txt
|
|
# kubernetes
|
|
requests-toolbelt==0.10.1
|
|
# via twine
|
|
rfc3986==2.0.0
|
|
# via twine
|
|
rich==12.6.0
|
|
# via twine
|
|
rsa==4.9
|
|
# via
|
|
# -r requirements/base.txt
|
|
# google-auth
|
|
secretstorage==3.3.3
|
|
# via keyring
|
|
six==1.16.0
|
|
# via
|
|
# -r requirements/base.txt
|
|
# bleach
|
|
# google-auth
|
|
# kubernetes
|
|
# python-dateutil
|
|
tomli==2.0.1
|
|
# via
|
|
# -r requirements/base.txt
|
|
# black
|
|
# build
|
|
# mypy
|
|
# pep517
|
|
# pylint
|
|
tomlkit==0.11.6
|
|
# via pylint
|
|
twine==4.0.1
|
|
# via -r requirements/dev.in
|
|
types-docutils==0.19.1.1
|
|
# via -r requirements/dev.in
|
|
types-pyyaml==6.0.12.2
|
|
# via -r requirements/dev.in
|
|
types-setuptools==65.5.0.2
|
|
# via -r requirements/dev.in
|
|
typing-extensions==4.4.0
|
|
# via
|
|
# -r requirements/base.txt
|
|
# astroid
|
|
# black
|
|
# mypy
|
|
# pylint
|
|
# rich
|
|
urllib3==1.26.12
|
|
# via
|
|
# -r requirements/base.txt
|
|
# kubernetes
|
|
# requests
|
|
# twine
|
|
webencodings==0.5.1
|
|
# via bleach
|
|
websocket-client==1.4.2
|
|
# via
|
|
# -r requirements/base.txt
|
|
# kubernetes
|
|
wheel==0.38.4
|
|
# via pip-tools
|
|
wrapt==1.14.1
|
|
# via astroid
|
|
zipp==3.10.0
|
|
# via importlib-metadata
|
|
|
|
# The following packages are considered to be unsafe in a requirements file:
|
|
# pip
|
|
# setuptools
|