From 341ee948487c7c38083199a011f8da7b920ea4f4 Mon Sep 17 00:00:00 2001 From: hemengyang Date: Fri, 14 Jan 2022 20:04:19 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5remove=20sphinx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs_build/Makefile | 20 -- docs_build/README.rst | 12 -- docs_build/adapters/README.rst | 43 ----- docs_build/conf.py | 82 -------- docs_build/config.rst | 10 - docs_build/dependencies.rst | 11 -- docs_build/drivers/README.rst | 13 -- docs_build/drivers/aiohttp.rst | 9 - docs_build/drivers/fastapi.rst | 9 - docs_build/drivers/httpx.rst | 9 - docs_build/drivers/quart.rst | 9 - docs_build/drivers/websockets.rst | 9 - docs_build/exception.rst | 10 - docs_build/log.rst | 10 - docs_build/make.bat | 35 ---- docs_build/matcher.rst | 12 -- docs_build/message.rst | 10 - docs_build/permission.rst | 11 -- docs_build/plugin.rst | 31 --- docs_build/rule.rst | 11 -- docs_build/typing.rst | 10 - docs_build/utils.rst | 10 - poetry.lock | 310 +----------------------------- pyproject.toml | 2 - 24 files changed, 3 insertions(+), 695 deletions(-) delete mode 100644 docs_build/Makefile delete mode 100644 docs_build/README.rst delete mode 100644 docs_build/adapters/README.rst delete mode 100644 docs_build/conf.py delete mode 100644 docs_build/config.rst delete mode 100644 docs_build/dependencies.rst delete mode 100644 docs_build/drivers/README.rst delete mode 100644 docs_build/drivers/aiohttp.rst delete mode 100644 docs_build/drivers/fastapi.rst delete mode 100644 docs_build/drivers/httpx.rst delete mode 100644 docs_build/drivers/quart.rst delete mode 100644 docs_build/drivers/websockets.rst delete mode 100644 docs_build/exception.rst delete mode 100644 docs_build/log.rst delete mode 100644 docs_build/make.bat delete mode 100644 docs_build/matcher.rst delete mode 100644 docs_build/message.rst delete mode 100644 docs_build/permission.rst delete mode 100644 docs_build/plugin.rst delete mode 100644 docs_build/rule.rst delete mode 100644 docs_build/typing.rst delete mode 100644 docs_build/utils.rst diff --git a/docs_build/Makefile b/docs_build/Makefile deleted file mode 100644 index d4bb2cbb..00000000 --- a/docs_build/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# Minimal makefile for Sphinx documentation -# - -# You can set these variables from the command line, and also -# from the environment for the first two. -SPHINXOPTS ?= -SPHINXBUILD ?= sphinx-build -SOURCEDIR = . -BUILDDIR = _build - -# Put it first so that "make" without argument is like "make help". -help: - @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) - -.PHONY: help Makefile - -# Catch-all target: route all unknown targets to Sphinx using the new -# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). -%: Makefile - @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) diff --git a/docs_build/README.rst b/docs_build/README.rst deleted file mode 100644 index a7cb1be7..00000000 --- a/docs_build/README.rst +++ /dev/null @@ -1,12 +0,0 @@ -\-\-\- -sidebar_position: 1 -id: index -slug: /api -\-\-\- - -NoneBot 模块 -=============== - -.. automodule:: nonebot - :members: - :show-inheritance: diff --git a/docs_build/adapters/README.rst b/docs_build/adapters/README.rst deleted file mode 100644 index 41ca34f7..00000000 --- a/docs_build/adapters/README.rst +++ /dev/null @@ -1,43 +0,0 @@ -\-\-\- -id: index -slug: /api/adapters/ -\-\-\- - -NoneBot.adapters 模块 -===================== - -.. automodule:: nonebot.adapters - :members: - :private-members: - :special-members: __init__ - :show-inheritance: - -.. automodule:: nonebot.adapters._adapter - :members: - :private-members: - :special-members: __init__ - :show-inheritance: - -.. automodule:: nonebot.adapters._bot - :members: - :private-members: - :special-members: __init__ - :show-inheritance: - -.. automodule:: nonebot.adapters._message - :members: - :private-members: - :special-members: __init__ - :show-inheritance: - -.. automodule:: nonebot.adapters._event - :members: - :private-members: - :special-members: __init__ - :show-inheritance: - -.. automodule:: nonebot.adapters._template - :members: - :private-members: - :special-members: __init__ - :show-inheritance: diff --git a/docs_build/conf.py b/docs_build/conf.py deleted file mode 100644 index 76bd31fb..00000000 --- a/docs_build/conf.py +++ /dev/null @@ -1,82 +0,0 @@ -# Configuration file for the Sphinx documentation builder. -# -# This file only contains a selection of the most common options. For a full -# list see the documentation: -# https://www.sphinx-doc.org/en/master/usage/configuration.html - -# -- Path setup -------------------------------------------------------------- - -# If extensions (or modules to document with autodoc) are in another directory, -# add these directories to sys.path here. If the directory is relative to the -# documentation root, use os.path.abspath to make it absolute, like shown here. -# -import os -import sys - -sys.path.insert(0, os.path.abspath(os.path.dirname(os.path.dirname(__file__)))) - -# -- Project information ----------------------------------------------------- - -project = 'nonebot' -copyright = '2020, richardchien' -author = 'richardchien' - -# The short X.Y version -version = '2.0.0' - -# The full version, including alpha/beta/rc tags -release = '2.0.0' - -# -- General configuration --------------------------------------------------- - -# Add any Sphinx extension module names here, as strings. They can be -# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom -# ones. -extensions = [ - 'sphinx.ext.autodoc', - 'sphinx.ext.viewcode', - 'sphinx.ext.todo', -] - -# Add any paths that contain templates here, relative to this directory. -templates_path = ['_templates'] - -# The language for content autogenerated by Sphinx. Refer to documentation -# for a list of supported languages. -# -# This is also used if you do content translation via gettext catalogs. -# Usually you set "language" from the command line for these cases. -language = 'zh_CN' - -master_doc = "README" - -# List of patterns, relative to source directory, that match files and -# directories to ignore when looking for source files. -# This pattern also affects html_static_path and html_extra_path. -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] - -# -- Options for HTML output ------------------------------------------------- - -# The theme to use for HTML and HTML Help pages. See the documentation for -# a list of builtin themes. -# -html_theme = 'alabaster' - -# Add any paths that contain custom static files (such as style sheets) here, -# relative to this directory. They are copied after the builtin static files, -# so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] - -# html_baseurl = '/api/' - -# -- Extension configuration ------------------------------------------------- - -# -- Options for autodoc extension ---------------------------------------------- -autodoc_default_options = {'member-order': 'bysource'} -autodoc_inherit_docstrings = False -autodoc_typehints = 'none' - -# -- Options for todo extension ---------------------------------------------- - -# If true, `todo` and `todoList` produce output, else they produce nothing. -todo_include_todos = True diff --git a/docs_build/config.rst b/docs_build/config.rst deleted file mode 100644 index 157e248a..00000000 --- a/docs_build/config.rst +++ /dev/null @@ -1,10 +0,0 @@ -\-\-\- -sidebar_position: 2 -\-\-\- - -NoneBot.config 模块 -=================== - -.. automodule:: nonebot.config - :members: Env, Config - :show-inheritance: diff --git a/docs_build/dependencies.rst b/docs_build/dependencies.rst deleted file mode 100644 index 00256bc5..00000000 --- a/docs_build/dependencies.rst +++ /dev/null @@ -1,11 +0,0 @@ -\-\-\- -sidebar_position: 8 -\-\-\- - -NoneBot.dependencies 模块 -==================== - -.. automodule:: nonebot.dependencies - :members: - :private-members: - :show-inheritance: diff --git a/docs_build/drivers/README.rst b/docs_build/drivers/README.rst deleted file mode 100644 index 2d190e18..00000000 --- a/docs_build/drivers/README.rst +++ /dev/null @@ -1,13 +0,0 @@ -\-\-\- -id: index -slug: /api/drivers/ -\-\-\- - -NoneBot.drivers 模块 -===================== - -.. automodule:: nonebot.drivers - :members: - :private-members: - :special-members: __init__ - :show-inheritance: diff --git a/docs_build/drivers/aiohttp.rst b/docs_build/drivers/aiohttp.rst deleted file mode 100644 index f49e2b60..00000000 --- a/docs_build/drivers/aiohttp.rst +++ /dev/null @@ -1,9 +0,0 @@ - - -NoneBot.drivers.aiohttp 模块 -============================= - -.. automodule:: nonebot.drivers.aiohttp - :members: - :private-members: - :show-inheritance: diff --git a/docs_build/drivers/fastapi.rst b/docs_build/drivers/fastapi.rst deleted file mode 100644 index 49150f39..00000000 --- a/docs_build/drivers/fastapi.rst +++ /dev/null @@ -1,9 +0,0 @@ - - -NoneBot.drivers.fastapi 模块 -============================= - -.. automodule:: nonebot.drivers.fastapi - :members: - :private-members: - :show-inheritance: diff --git a/docs_build/drivers/httpx.rst b/docs_build/drivers/httpx.rst deleted file mode 100644 index 357588e7..00000000 --- a/docs_build/drivers/httpx.rst +++ /dev/null @@ -1,9 +0,0 @@ - - -NoneBot.drivers.httpx 模块 -============================= - -.. automodule:: nonebot.drivers.httpx - :members: - :private-members: - :show-inheritance: diff --git a/docs_build/drivers/quart.rst b/docs_build/drivers/quart.rst deleted file mode 100644 index acab2732..00000000 --- a/docs_build/drivers/quart.rst +++ /dev/null @@ -1,9 +0,0 @@ - - -NoneBot.drivers.quart 模块 -========================== - -.. automodule:: nonebot.drivers.quart - :members: - :private-members: - :show-inheritance: diff --git a/docs_build/drivers/websockets.rst b/docs_build/drivers/websockets.rst deleted file mode 100644 index 0193de7b..00000000 --- a/docs_build/drivers/websockets.rst +++ /dev/null @@ -1,9 +0,0 @@ - - -NoneBot.drivers.websockets 模块 -============================= - -.. automodule:: nonebot.drivers.websockets - :members: - :private-members: - :show-inheritance: diff --git a/docs_build/exception.rst b/docs_build/exception.rst deleted file mode 100644 index 619c5632..00000000 --- a/docs_build/exception.rst +++ /dev/null @@ -1,10 +0,0 @@ -\-\-\- -sidebar_position: 12 -\-\-\- - -NoneBot.exception 模块 -====================== - -.. automodule:: nonebot.exception - :members: - :show-inheritance: diff --git a/docs_build/log.rst b/docs_build/log.rst deleted file mode 100644 index 208befdf..00000000 --- a/docs_build/log.rst +++ /dev/null @@ -1,10 +0,0 @@ -\-\-\- -sidebar_position: 9 -\-\-\- - -NoneBot.log 模块 -================= - -.. automodule:: nonebot.log - :members: - :show-inheritance: diff --git a/docs_build/make.bat b/docs_build/make.bat deleted file mode 100644 index 922152e9..00000000 --- a/docs_build/make.bat +++ /dev/null @@ -1,35 +0,0 @@ -@ECHO OFF - -pushd %~dp0 - -REM Command file for Sphinx documentation - -if "%SPHINXBUILD%" == "" ( - set SPHINXBUILD=sphinx-build -) -set SOURCEDIR=. -set BUILDDIR=_build - -if "%1" == "" goto help - -%SPHINXBUILD% >NUL 2>NUL -if errorlevel 9009 ( - echo. - echo.The 'sphinx-build' command was not found. Make sure you have Sphinx - echo.installed, then set the SPHINXBUILD environment variable to point - echo.to the full path of the 'sphinx-build' executable. Alternatively you - echo.may add the Sphinx directory to PATH. - echo. - echo.If you don't have Sphinx installed, grab it from - echo.http://sphinx-doc.org/ - exit /b 1 -) - -%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% -goto end - -:help -%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% - -:end -popd diff --git a/docs_build/matcher.rst b/docs_build/matcher.rst deleted file mode 100644 index 1acbcc76..00000000 --- a/docs_build/matcher.rst +++ /dev/null @@ -1,12 +0,0 @@ -\-\-\- -sidebar_position: 5 -\-\-\- - -NoneBot.matcher 模块 -==================== - -.. automodule:: nonebot.matcher - :members: - :private-members: - :special-members: __init__ - :show-inheritance: diff --git a/docs_build/message.rst b/docs_build/message.rst deleted file mode 100644 index 44583499..00000000 --- a/docs_build/message.rst +++ /dev/null @@ -1,10 +0,0 @@ -\-\-\- -sidebar_position: 4 -\-\-\- - -NoneBot.message 模块 -====================== - -.. automodule:: nonebot.message - :members: - :show-inheritance: diff --git a/docs_build/permission.rst b/docs_build/permission.rst deleted file mode 100644 index 216bd2c7..00000000 --- a/docs_build/permission.rst +++ /dev/null @@ -1,11 +0,0 @@ -\-\-\- -sidebar_position: 7 -\-\-\- - -NoneBot.permission 模块 -======================= - -.. automodule:: nonebot.permission - :members: - :show-inheritance: - :special-members: diff --git a/docs_build/plugin.rst b/docs_build/plugin.rst deleted file mode 100644 index 23f888ed..00000000 --- a/docs_build/plugin.rst +++ /dev/null @@ -1,31 +0,0 @@ -\-\-\- -sidebar_position: 3 -\-\-\- - -NoneBot.plugin 模块 -==================== - -.. automodule:: nonebot.plugin - :members: - :show-inheritance: - :special-members: __init__ - -.. automodule:: nonebot.plugin.plugin - :members: - :show-inheritance: - :special-members: __init__ - -.. automodule:: nonebot.plugin.on - :members: - :show-inheritance: - :special-members: __init__ - -.. automodule:: nonebot.plugin.load - :members: - :show-inheritance: - :special-members: __init__ - -.. automodule:: nonebot.plugin.export - :members: - :show-inheritance: - :special-members: __init__ diff --git a/docs_build/rule.rst b/docs_build/rule.rst deleted file mode 100644 index f51d539d..00000000 --- a/docs_build/rule.rst +++ /dev/null @@ -1,11 +0,0 @@ -\-\-\- -sidebar_position: 6 -\-\-\- - -NoneBot.rule 模块 -==================== - -.. automodule:: nonebot.rule - :members: - :special-members: - :show-inheritance: diff --git a/docs_build/typing.rst b/docs_build/typing.rst deleted file mode 100644 index fb398047..00000000 --- a/docs_build/typing.rst +++ /dev/null @@ -1,10 +0,0 @@ -\-\-\- -sidebar_position: 11 -\-\-\- - -NoneBot.typing 模块 -=================== - -.. automodule:: nonebot.typing - :members: - :show-inheritance: diff --git a/docs_build/utils.rst b/docs_build/utils.rst deleted file mode 100644 index e3fae252..00000000 --- a/docs_build/utils.rst +++ /dev/null @@ -1,10 +0,0 @@ -\-\-\- -sidebar_position: 10 -\-\-\- - -NoneBot.utils 模块 -================== - -.. automodule:: nonebot.utils - :members: - :show-inheritance: diff --git a/poetry.lock b/poetry.lock index 037cb9e8..cae3e7fd 100644 --- a/poetry.lock +++ b/poetry.lock @@ -53,14 +53,6 @@ python-versions = ">=3.6" [package.dependencies] frozenlist = ">=1.1.0" -[[package]] -name = "alabaster" -version = "0.7.12" -description = "A configurable sidebar-enabled Sphinx theme" -category = "dev" -optional = false -python-versions = "*" - [[package]] name = "anyio" version = "3.5.0" @@ -146,17 +138,6 @@ docs = ["furo", "sphinx", "zope.interface", "sphinx-notfound-page"] tests = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "zope.interface", "cloudpickle"] tests_no_zope = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "cloudpickle"] -[[package]] -name = "babel" -version = "2.9.1" -description = "Internationalization utilities" -category = "dev" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" - -[package.dependencies] -pytz = ">=2015.7" - [[package]] name = "black" version = "21.12b0" @@ -272,14 +253,6 @@ tomli = {version = "*", optional = true, markers = "extra == \"toml\""} [package.extras] toml = ["tomli"] -[[package]] -name = "docutils" -version = "0.17.1" -description = "Docutils -- Python Documentation Utilities" -category = "dev" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" - [[package]] name = "execnet" version = "1.9.0" @@ -345,14 +318,6 @@ category = "main" optional = true python-versions = ">=3.6.1" -[[package]] -name = "html2text" -version = "2020.1.16" -description = "Turn HTML into equivalent Markdown-structured text." -category = "dev" -optional = false -python-versions = ">=3.5" - [[package]] name = "httpcore" version = "0.14.4" @@ -439,14 +404,6 @@ category = "main" optional = false python-versions = ">=3.5" -[[package]] -name = "imagesize" -version = "1.3.0" -description = "Getting image size from png/jpeg/jpeg2000/gif file" -category = "dev" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" - [[package]] name = "importlib-metadata" version = "4.10.0" @@ -499,7 +456,7 @@ name = "jinja2" version = "3.0.3" description = "A very fast and expressive template engine." category = "main" -optional = false +optional = true python-versions = ">=3.6" [package.dependencies] @@ -528,7 +485,7 @@ name = "markupsafe" version = "2.0.1" description = "Safely add untrusted strings to HTML/XML markup." category = "main" -optional = false +optional = true python-versions = ">=3.6" [[package]] @@ -688,25 +645,6 @@ typing-extensions = ">=3.7.4.3" dotenv = ["python-dotenv (>=0.10.4)"] email = ["email-validator (>=1.0.3)"] -[[package]] -name = "pydash" -version = "5.1.0" -description = "The kitchen sink of Python utility libraries for doing \"stuff\" in a functional way. Based on the Lo-Dash Javascript library." -category = "dev" -optional = false -python-versions = ">=3.6" - -[package.extras] -dev = ["black", "coverage", "docformatter", "flake8", "flake8-black", "flake8-bugbear", "flake8-isort", "invoke", "isort", "pylint", "pytest", "pytest-cov", "pytest-flake8", "pytest-pylint", "sphinx", "sphinx-rtd-theme", "tox", "twine", "wheel"] - -[[package]] -name = "pygments" -version = "2.11.2" -description = "Pygments is a syntax highlighting package written in Python." -category = "dev" -optional = false -python-versions = ">=3.5" - [[package]] name = "pygtrie" version = "2.4.2" @@ -818,14 +756,6 @@ python-versions = ">=3.5" [package.extras] cli = ["click (>=5.0)"] -[[package]] -name = "pytz" -version = "2021.3" -description = "World timezone definitions, modern and historical" -category = "dev" -optional = false -python-versions = "*" - [[package]] name = "pyyaml" version = "6.0" @@ -905,138 +835,6 @@ category = "main" optional = false python-versions = ">=3.5" -[[package]] -name = "snowballstemmer" -version = "2.2.0" -description = "This package provides 29 stemmers for 28 languages generated from Snowball algorithms." -category = "dev" -optional = false -python-versions = "*" - -[[package]] -name = "sphinx" -version = "4.3.2" -description = "Python documentation generator" -category = "dev" -optional = false -python-versions = ">=3.6" - -[package.dependencies] -alabaster = ">=0.7,<0.8" -babel = ">=1.3" -colorama = {version = ">=0.3.5", markers = "sys_platform == \"win32\""} -docutils = ">=0.14,<0.18" -imagesize = "*" -Jinja2 = ">=2.3" -packaging = "*" -Pygments = ">=2.0" -requests = ">=2.5.0" -snowballstemmer = ">=1.1" -sphinxcontrib-applehelp = "*" -sphinxcontrib-devhelp = "*" -sphinxcontrib-htmlhelp = ">=2.0.0" -sphinxcontrib-jsmath = "*" -sphinxcontrib-qthelp = "*" -sphinxcontrib-serializinghtml = ">=1.1.5" - -[package.extras] -docs = ["sphinxcontrib-websupport"] -lint = ["flake8 (>=3.5.0)", "isort", "mypy (>=0.920)", "docutils-stubs", "types-typed-ast", "types-pkg-resources", "types-requests"] -test = ["pytest", "pytest-cov", "html5lib", "cython", "typed-ast"] - -[[package]] -name = "sphinx-markdown-builder" -version = "0.5.4" -description = "sphinx builder that outputs markdown files" -category = "dev" -optional = false -python-versions = "*" -develop = false - -[package.dependencies] -html2text = "*" -pydash = "*" -sphinx = "*" -unify = "*" -yapf = "*" - -[package.source] -type = "git" -url = "https://github.com/nonebot/sphinx-markdown-builder.git" -reference = "master" -resolved_reference = "2204923f5938a8f7354c6a69ed58079edd180a43" - -[[package]] -name = "sphinxcontrib-applehelp" -version = "1.0.2" -description = "sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books" -category = "dev" -optional = false -python-versions = ">=3.5" - -[package.extras] -lint = ["flake8", "mypy", "docutils-stubs"] -test = ["pytest"] - -[[package]] -name = "sphinxcontrib-devhelp" -version = "1.0.2" -description = "sphinxcontrib-devhelp is a sphinx extension which outputs Devhelp document." -category = "dev" -optional = false -python-versions = ">=3.5" - -[package.extras] -lint = ["flake8", "mypy", "docutils-stubs"] -test = ["pytest"] - -[[package]] -name = "sphinxcontrib-htmlhelp" -version = "2.0.0" -description = "sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files" -category = "dev" -optional = false -python-versions = ">=3.6" - -[package.extras] -lint = ["flake8", "mypy", "docutils-stubs"] -test = ["pytest", "html5lib"] - -[[package]] -name = "sphinxcontrib-jsmath" -version = "1.0.1" -description = "A sphinx extension which renders display math in HTML via JavaScript" -category = "dev" -optional = false -python-versions = ">=3.5" - -[package.extras] -test = ["pytest", "flake8", "mypy"] - -[[package]] -name = "sphinxcontrib-qthelp" -version = "1.0.3" -description = "sphinxcontrib-qthelp is a sphinx extension which outputs QtHelp document." -category = "dev" -optional = false -python-versions = ">=3.5" - -[package.extras] -lint = ["flake8", "mypy", "docutils-stubs"] -test = ["pytest"] - -[[package]] -name = "sphinxcontrib-serializinghtml" -version = "1.1.5" -description = "sphinxcontrib-serializinghtml is a sphinx extension which outputs \"serialized\" HTML files (json and pickle)." -category = "dev" -optional = false -python-versions = ">=3.5" - -[package.extras] -lint = ["flake8", "mypy", "docutils-stubs"] -test = ["pytest"] - [[package]] name = "starlette" version = "0.16.0" @@ -1092,25 +890,6 @@ category = "main" optional = false python-versions = ">=3.6" -[[package]] -name = "unify" -version = "0.5" -description = "Modifies strings to all use the same (single/double) quote where possible." -category = "dev" -optional = false -python-versions = "*" - -[package.dependencies] -untokenize = "*" - -[[package]] -name = "untokenize" -version = "0.1.1" -description = "Transforms tokens into original source code (while preserving whitespace)." -category = "dev" -optional = false -python-versions = "*" - [[package]] name = "urllib3" version = "1.26.8" @@ -1210,14 +989,6 @@ python-versions = ">=3.6.1" [package.dependencies] h11 = ">=0.9.0,<1" -[[package]] -name = "yapf" -version = "0.32.0" -description = "A formatter for Python code." -category = "dev" -optional = false -python-versions = "*" - [[package]] name = "yarl" version = "1.7.2" @@ -1253,7 +1024,7 @@ websockets = ["websockets"] [metadata] lock-version = "1.1" python-versions = "^3.7.3" -content-hash = "a7113dce5c7316f42a109576751a0802b86973278bc0f61b03f226836757a247" +content-hash = "4687997c6c2b8512cc150caa206a6b690379ab9b22d695970918887fe09e2e77" [metadata.files] aiodns = [ @@ -1342,10 +1113,6 @@ aiosignal = [ {file = "aiosignal-1.2.0-py3-none-any.whl", hash = "sha256:26e62109036cd181df6e6ad646f91f0dcfd05fe16d0cb924138ff2ab75d64e3a"}, {file = "aiosignal-1.2.0.tar.gz", hash = "sha256:78ed67db6c7b7ced4f98e495e572106d5c432a93e1ddd1bf475e1dc05f5b7df2"}, ] -alabaster = [ - {file = "alabaster-0.7.12-py2.py3-none-any.whl", hash = "sha256:446438bdcca0e05bd45ea2de1668c1d9b032e1a9154c2c259092d77031ddd359"}, - {file = "alabaster-0.7.12.tar.gz", hash = "sha256:a661d72d58e6ea8a57f7a86e37d86716863ee5e92788398526d58b26a4e4dc02"}, -] anyio = [ {file = "anyio-3.5.0-py3-none-any.whl", hash = "sha256:b5fa16c5ff93fa1046f2eeb5bbff2dad4d3514d6cda61d02816dba34fa8c3c2e"}, {file = "anyio-3.5.0.tar.gz", hash = "sha256:a0aeffe2fb1fdf374a8e4b471444f0f3ac4fb9f5a5b542b48824475e0042a5a6"}, @@ -1373,10 +1140,6 @@ attrs = [ {file = "attrs-21.4.0-py2.py3-none-any.whl", hash = "sha256:2d27e3784d7a565d36ab851fe94887c5eccd6a463168875832a1be79c82828b4"}, {file = "attrs-21.4.0.tar.gz", hash = "sha256:626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd"}, ] -babel = [ - {file = "Babel-2.9.1-py2.py3-none-any.whl", hash = "sha256:ab49e12b91d937cd11f0b67cb259a57ab4ad2b59ac7a3b41d6c06c0ac5b0def9"}, - {file = "Babel-2.9.1.tar.gz", hash = "sha256:bc0c176f9f6a994582230df350aa6e05ba2ebe4b3ac317eab29d9be5d2768da0"}, -] black = [ {file = "black-21.12b0-py3-none-any.whl", hash = "sha256:a615e69ae185e08fdd73e4715e260e2479c861b5740057fde6e8b4e3b7dd589f"}, {file = "black-21.12b0.tar.gz", hash = "sha256:77b80f693a569e2e527958459634f18df9b0ba2625ba4e0c2d5da5be42e6f2b3"}, @@ -1581,10 +1344,6 @@ coverage = [ {file = "coverage-6.2-pp36.pp37.pp38-none-any.whl", hash = "sha256:5829192582c0ec8ca4a2532407bc14c2f338d9878a10442f5d03804a95fac9de"}, {file = "coverage-6.2.tar.gz", hash = "sha256:e2cad8093172b7d1595b4ad66f24270808658e11acf43a8f95b41276162eb5b8"}, ] -docutils = [ - {file = "docutils-0.17.1-py2.py3-none-any.whl", hash = "sha256:cf316c8370a737a022b72b56874f6602acf974a37a9fba42ec2876387549fc61"}, - {file = "docutils-0.17.1.tar.gz", hash = "sha256:686577d2e4c32380bb50cbb22f575ed742d58168cee37e99117a854bcd88f125"}, -] execnet = [ {file = "execnet-1.9.0-py2.py3-none-any.whl", hash = "sha256:a295f7cc774947aac58dde7fdc85f4aa00c42adf5d8f5468fc630c1acf30a142"}, {file = "execnet-1.9.0.tar.gz", hash = "sha256:8f694f3ba9cc92cab508b152dcfe322153975c29bda272e2fd7f3f00f36e47c5"}, @@ -1679,10 +1438,6 @@ hpack = [ {file = "hpack-4.0.0-py3-none-any.whl", hash = "sha256:84a076fad3dc9a9f8063ccb8041ef100867b1878b25ef0ee63847a5d53818a6c"}, {file = "hpack-4.0.0.tar.gz", hash = "sha256:fc41de0c63e687ebffde81187a948221294896f6bdc0ae2312708df339430095"}, ] -html2text = [ - {file = "html2text-2020.1.16-py3-none-any.whl", hash = "sha256:c7c629882da0cf377d66f073329ccf34a12ed2adf0169b9285ae4e63ef54c82b"}, - {file = "html2text-2020.1.16.tar.gz", hash = "sha256:e296318e16b059ddb97f7a8a1d6a5c1d7af4544049a01e261731d2d5cc277bbb"}, -] httpcore = [ {file = "httpcore-0.14.4-py3-none-any.whl", hash = "sha256:9410fe352bea732311f2b2bee0555c8cc5e62b9a73b9d3272fe125a2aa6eb28e"}, {file = "httpcore-0.14.4.tar.gz", hash = "sha256:d4305811f604d3c2e22869147392f134796976ff946c96a8cfba87f4e0171d83"}, @@ -1720,10 +1475,6 @@ idna = [ {file = "idna-3.3-py3-none-any.whl", hash = "sha256:84d9dd047ffa80596e0f246e2eab0b391788b0503584e8945f2368256d2735ff"}, {file = "idna-3.3.tar.gz", hash = "sha256:9d643ff0a55b762d5cdb124b8eaa99c66322e2157b69160bc32796e824360e6d"}, ] -imagesize = [ - {file = "imagesize-1.3.0-py2.py3-none-any.whl", hash = "sha256:1db2f82529e53c3e929e8926a1fa9235aa82d0bd0c580359c67ec31b2fddaa8c"}, - {file = "imagesize-1.3.0.tar.gz", hash = "sha256:cd1750d452385ca327479d45b64d9c7729ecf0b3969a58148298c77092261f9d"}, -] importlib-metadata = [ {file = "importlib_metadata-4.10.0-py3-none-any.whl", hash = "sha256:b7cf7d3fef75f1e4c80a96ca660efbd51473d7e8f39b5ab9210febc7809012a4"}, {file = "importlib_metadata-4.10.0.tar.gz", hash = "sha256:92a8b58ce734b2a4494878e0ecf7d79ccd7a128b5fc6014c401e0b61f006f0f6"}, @@ -1997,14 +1748,6 @@ pydantic = [ {file = "pydantic-1.9.0-py3-none-any.whl", hash = "sha256:085ca1de245782e9b46cefcf99deecc67d418737a1fd3f6a4f511344b613a5b3"}, {file = "pydantic-1.9.0.tar.gz", hash = "sha256:742645059757a56ecd886faf4ed2441b9c0cd406079c2b4bee51bcc3fbcd510a"}, ] -pydash = [ - {file = "pydash-5.1.0-py3-none-any.whl", hash = "sha256:ced4fedb163eb07fbee376e474bca74029eb9fab215614449fe13164f71dd9e3"}, - {file = "pydash-5.1.0.tar.gz", hash = "sha256:1b2b050ac1bae049cd07f5920b14fabbe52638f485d9ada1eb115a9eebff6835"}, -] -pygments = [ - {file = "Pygments-2.11.2-py3-none-any.whl", hash = "sha256:44238f1b60a76d78fc8ca0528ee429702aae011c265fe6a8dd8b63049ae41c65"}, - {file = "Pygments-2.11.2.tar.gz", hash = "sha256:4e426f72023d88d03b2fa258de560726ce890ff3b630f88c21cbb8b2503b8c6a"}, -] pygtrie = [ {file = "pygtrie-2.4.2.tar.gz", hash = "sha256:43205559d28863358dbbf25045029f58e2ab357317a59b11f11ade278ac64692"}, ] @@ -2036,10 +1779,6 @@ python-dotenv = [ {file = "python-dotenv-0.19.2.tar.gz", hash = "sha256:a5de49a31e953b45ff2d2fd434bbc2670e8db5273606c1e737cc6b93eff3655f"}, {file = "python_dotenv-0.19.2-py2.py3-none-any.whl", hash = "sha256:32b2bdc1873fd3a3c346da1c6db83d0053c3c62f28f1f38516070c4c8971b1d3"}, ] -pytz = [ - {file = "pytz-2021.3-py2.py3-none-any.whl", hash = "sha256:3672058bc3453457b622aab7a1c3bfd5ab0bdae451512f6cf25f64ed37f5b87c"}, - {file = "pytz-2021.3.tar.gz", hash = "sha256:acad2d8b20a1af07d4e4c9d2e9285c5ed9104354062f275f3fcd88dcef4f1326"}, -] pyyaml = [ {file = "PyYAML-6.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d4db7c7aef085872ef65a8fd7d6d09a14ae91f691dec3e87ee5ee0539d516f53"}, {file = "PyYAML-6.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9df7ed3b3d2e0ecfe09e14741b857df43adb5a3ddadc919a2d94fbdf78fea53c"}, @@ -2095,39 +1834,6 @@ sniffio = [ {file = "sniffio-1.2.0-py3-none-any.whl", hash = "sha256:471b71698eac1c2112a40ce2752bb2f4a4814c22a54a3eed3676bc0f5ca9f663"}, {file = "sniffio-1.2.0.tar.gz", hash = "sha256:c4666eecec1d3f50960c6bdf61ab7bc350648da6c126e3cf6898d8cd4ddcd3de"}, ] -snowballstemmer = [ - {file = "snowballstemmer-2.2.0-py2.py3-none-any.whl", hash = "sha256:c8e1716e83cc398ae16824e5572ae04e0d9fc2c6b985fb0f900f5f0c96ecba1a"}, - {file = "snowballstemmer-2.2.0.tar.gz", hash = "sha256:09b16deb8547d3412ad7b590689584cd0fe25ec8db3be37788be3810cbf19cb1"}, -] -sphinx = [ - {file = "Sphinx-4.3.2-py3-none-any.whl", hash = "sha256:6a11ea5dd0bdb197f9c2abc2e0ce73e01340464feaece525e64036546d24c851"}, - {file = "Sphinx-4.3.2.tar.gz", hash = "sha256:0a8836751a68306b3fe97ecbe44db786f8479c3bf4b80e3a7f5c838657b4698c"}, -] -sphinx-markdown-builder = [] -sphinxcontrib-applehelp = [ - {file = "sphinxcontrib-applehelp-1.0.2.tar.gz", hash = "sha256:a072735ec80e7675e3f432fcae8610ecf509c5f1869d17e2eecff44389cdbc58"}, - {file = "sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl", hash = "sha256:806111e5e962be97c29ec4c1e7fe277bfd19e9652fb1a4392105b43e01af885a"}, -] -sphinxcontrib-devhelp = [ - {file = "sphinxcontrib-devhelp-1.0.2.tar.gz", hash = "sha256:ff7f1afa7b9642e7060379360a67e9c41e8f3121f2ce9164266f61b9f4b338e4"}, - {file = "sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl", hash = "sha256:8165223f9a335cc1af7ffe1ed31d2871f325254c0423bc0c4c7cd1c1e4734a2e"}, -] -sphinxcontrib-htmlhelp = [ - {file = "sphinxcontrib-htmlhelp-2.0.0.tar.gz", hash = "sha256:f5f8bb2d0d629f398bf47d0d69c07bc13b65f75a81ad9e2f71a63d4b7a2f6db2"}, - {file = "sphinxcontrib_htmlhelp-2.0.0-py2.py3-none-any.whl", hash = "sha256:d412243dfb797ae3ec2b59eca0e52dac12e75a241bf0e4eb861e450d06c6ed07"}, -] -sphinxcontrib-jsmath = [ - {file = "sphinxcontrib-jsmath-1.0.1.tar.gz", hash = "sha256:a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8"}, - {file = "sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl", hash = "sha256:2ec2eaebfb78f3f2078e73666b1415417a116cc848b72e5172e596c871103178"}, -] -sphinxcontrib-qthelp = [ - {file = "sphinxcontrib-qthelp-1.0.3.tar.gz", hash = "sha256:4c33767ee058b70dba89a6fc5c1892c0d57a54be67ddd3e7875a18d14cba5a72"}, - {file = "sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl", hash = "sha256:bd9fc24bcb748a8d51fd4ecaade681350aa63009a347a8c14e637895444dfab6"}, -] -sphinxcontrib-serializinghtml = [ - {file = "sphinxcontrib-serializinghtml-1.1.5.tar.gz", hash = "sha256:aa5f6de5dfdf809ef505c4895e51ef5c9eac17d0f287933eb49ec495280b6952"}, - {file = "sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl", hash = "sha256:352a9a00ae864471d3a7ead8d7d79f5fc0b57e8b3f95e9867eb9eb28999b92fd"}, -] starlette = [ {file = "starlette-0.16.0-py3-none-any.whl", hash = "sha256:38eb24bf705a2c317e15868e384c1b8a12ca396e5a3c3a003db7e667c43f939f"}, {file = "starlette-0.16.0.tar.gz", hash = "sha256:e1904b5d0007aee24bdd3c43994be9b3b729f4f58e740200de1d623f8c3a8870"}, @@ -2169,12 +1875,6 @@ typing-extensions = [ {file = "typing_extensions-4.0.1-py3-none-any.whl", hash = "sha256:7f001e5ac290a0c0401508864c7ec868be4e701886d5b573a9528ed3973d9d3b"}, {file = "typing_extensions-4.0.1.tar.gz", hash = "sha256:4ca091dea149f945ec56afb48dae714f21e8692ef22a395223bcd328961b6a0e"}, ] -unify = [ - {file = "unify-0.5.tar.gz", hash = "sha256:8ddce812b2457212b7598fe574c9e6eb3ad69710f445391338270c7f8a71723c"}, -] -untokenize = [ - {file = "untokenize-0.1.1.tar.gz", hash = "sha256:3865dbbbb8efb4bb5eaa72f1be7f3e0be00ea8b7f125c69cbd1f5fda926f37a2"}, -] urllib3 = [ {file = "urllib3-1.26.8-py2.py3-none-any.whl", hash = "sha256:000ca7f471a233c2251c6c7023ee85305721bfdf18621ebff4fd17a8653427ed"}, {file = "urllib3-1.26.8.tar.gz", hash = "sha256:0e7c33d9a63e7ddfcb86780aac87befc2fbddf46c58dbb487e0855f7ceec283c"}, @@ -2267,10 +1967,6 @@ wsproto = [ {file = "wsproto-1.0.0-py3-none-any.whl", hash = "sha256:d8345d1808dd599b5ffb352c25a367adb6157e664e140dbecba3f9bc007edb9f"}, {file = "wsproto-1.0.0.tar.gz", hash = "sha256:868776f8456997ad0d9720f7322b746bbe9193751b5b290b7f924659377c8c38"}, ] -yapf = [ - {file = "yapf-0.32.0-py2.py3-none-any.whl", hash = "sha256:8fea849025584e486fd06d6ba2bed717f396080fd3cc236ba10cb97c4c51cf32"}, - {file = "yapf-0.32.0.tar.gz", hash = "sha256:a3f5085d37ef7e3e004c4ba9f9b3e40c54ff1901cd111f05145ae313a7c67d1b"}, -] yarl = [ {file = "yarl-1.7.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:f2a8508f7350512434e41065684076f640ecce176d262a7d54f0da41d99c5a95"}, {file = "yarl-1.7.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:da6df107b9ccfe52d3a48165e48d72db0eca3e3029b5b8cb4fe6ee3cb870ba8b"}, diff --git a/pyproject.toml b/pyproject.toml index 1c794188..3158518d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,13 +37,11 @@ aiohttp = { version = "^3.7.4", extras = ["speedups"], optional = true } httpx = { version = ">=0.20.0, <1.0.0", extras = ["http2"], optional = true } [tool.poetry.dev-dependencies] -sphinx = "^4.1.1" isort = "^5.10.1" black = "^21.11b1" pytest-cov = "^3.0.0" pytest-xdist = "^2.5.0" nonebug = { git = "https://github.com/nonebot/nonebug.git" } -sphinx-markdown-builder = { git = "https://github.com/nonebot/sphinx-markdown-builder.git" } nb-autodoc = {git = "https://github.com/nonebot/nb-autodoc.git"} [tool.poetry.extras]