rich
/
pyproject.toml
69 строк · 1.8 Кб
1[tool.poetry]2name = "rich"3homepage = "https://github.com/Textualize/rich"4documentation = "https://rich.readthedocs.io/en/latest/"5version = "13.8.0"6description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal"7authors = ["Will McGugan <willmcgugan@gmail.com>"]8license = "MIT"9readme = "README.md"10classifiers = [11"Development Status :: 5 - Production/Stable",12"Environment :: Console",13"Framework :: IPython",14"Intended Audience :: Developers",15"Operating System :: Microsoft :: Windows",16"Operating System :: MacOS",17"Operating System :: POSIX :: Linux",18"Programming Language :: Python :: 3.7",19"Programming Language :: Python :: 3.8",20"Programming Language :: Python :: 3.9",21"Programming Language :: Python :: 3.10",22"Programming Language :: Python :: 3.11",23"Programming Language :: Python :: 3.12",24"Typing :: Typed",25]
26include = ["rich/py.typed"]27
28
29[tool.poetry.dependencies]30python = ">=3.7.0"31typing-extensions = { version = ">=4.0.0, <5.0", python = "<3.9" }32pygments = "^2.13.0"33ipywidgets = { version = ">=7.5.1,<9", optional = true }34markdown-it-py = ">=2.2.0"35
36[tool.poetry.extras]37jupyter = ["ipywidgets"]38
39[tool.poetry.dev-dependencies]40pytest = "^7.0.0"41black = "^22.6"42mypy = "^0.971"43pytest-cov = "^3.0.0"44attrs = "^21.4.0"45pre-commit = "^2.17.0"46asv = "^0.5.1"47importlib-metadata = { version = "*", python = "<3.8" }48
49[build-system]50requires = ["poetry-core>=1.0.0"]51build-backend = "poetry.core.masonry.api"52
53
54[tool.mypy]55files = ["rich"]56show_error_codes = true57strict = true58enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]59
60
61[[tool.mypy.overrides]]62module = ["pygments.*", "IPython.*", "ipywidgets.*"]63ignore_missing_imports = true64
65[tool.pytest.ini_options]66testpaths = ["tests"]67
68[tool.isort]69profile = "black"70