
This also introduces a script so we can reference the latest version in the example pre-commit configuration in the docs without forgetting to update it when doing a release! Commit history before merge: * document jupyter hook * note minimum version * add check for pre-commit version * use git tag * curl api during ci * parse version from changes file * fixup script * rename variables * Tweak the docs & magical script * fix couple of typos * pin additional dependencies in hook * Add types-PyYAML to lockfile Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
55 lines
1.3 KiB
TOML
55 lines
1.3 KiB
TOML
[[source]]
|
|
name = "pypi"
|
|
url = "https://pypi.python.org/simple"
|
|
verify_ssl = true
|
|
|
|
[dev-packages]
|
|
# Testing related requirements.
|
|
coverage = ">= 5.3"
|
|
pytest = " >= 6.1.1"
|
|
pytest-mock = ">= 3.3.1"
|
|
pytest-cases = ">= 2.3.0"
|
|
pytest-xdist = ">= 2.2.1"
|
|
pytest-cov = ">= 2.11.1"
|
|
parameterized = ">= 0.7.4"
|
|
tox = "*"
|
|
|
|
# Linting related requirements.
|
|
pre-commit = ">=2.9.2"
|
|
flake8 = ">=3.9.2"
|
|
flake8-bugbear = "*"
|
|
mypy = ">=0.910"
|
|
types-dataclasses = ">=0.1.3"
|
|
types-typed-ast = ">=1.4.1"
|
|
types-PyYAML = ">=5.4.1"
|
|
|
|
# Documentation related requirements.
|
|
Sphinx = ">=4.1.2"
|
|
MyST-Parser = ">=0.15.1"
|
|
sphinxcontrib-programoutput = ">=0.17"
|
|
sphinx-copybutton = ">=0.4.0"
|
|
docutils = "==0.17.1" # not a direct dependency, see https://github.com/pypa/pipenv/issues/3865
|
|
|
|
# Packaging related requirements.
|
|
setuptools = ">=39.2.0"
|
|
setuptools-scm = "*"
|
|
twine = ">=1.11.0"
|
|
wheel = ">=0.31.1"
|
|
readme_renderer = "*"
|
|
|
|
black = {editable = true, extras = ["d", "jupyter"], path = "."}
|
|
|
|
[packages]
|
|
aiohttp = ">=3.6.0"
|
|
aiohttp-cors = ">=0.4.0"
|
|
platformdirs= ">=2"
|
|
click = ">=8.0.0"
|
|
mypy_extensions = ">=0.4.3"
|
|
pathspec = ">=0.8.1"
|
|
regex = ">=2020.1.8"
|
|
tomli = ">=0.2.6, <2.0.0"
|
|
typed-ast = "==1.4.2"
|
|
typing_extensions = {"python_version <" = "3.10","version >=" = "3.10.0.0"}
|
|
black = {editable = true,extras = ["d"],path = "."}
|
|
dataclasses = {"python_version <" = "3.7","version >" = "0.1.3"}
|