mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-11 09:05:07 +00:00
55 lines
1.6 KiB
TOML
55 lines
1.6 KiB
TOML
[tool.poetry]
|
|
name = "pybricks"
|
|
version = "4.1.0b1"
|
|
description = "Documentation and user-API stubs for Pybricks MicroPython"
|
|
authors = ["The Pybricks Authors <team@pybricks.com>"]
|
|
maintainers = ["Laurens Valk <laurens@pybricks.com>", "David Lechner <david@pybricks.com>" ]
|
|
license = "MIT"
|
|
readme = "README.rst"
|
|
homepage = "https://pybricks.com"
|
|
repository = "https://github.com/pybricks/pybricks-api"
|
|
documentation = "https://docs.pybricks.com"
|
|
classifiers = [
|
|
"Programming Language :: Python :: Implementation :: MicroPython",
|
|
]
|
|
packages = [
|
|
{ include = "pybricks", from = "src" },
|
|
{ include = "micropython", from = "src" },
|
|
{ include = "uerrno", from = "src" },
|
|
{ include = "uio", from = "src" },
|
|
{ include = "ujson", from = "src" },
|
|
{ include = "umath", from = "src" },
|
|
{ include = "urandom", from = "src" },
|
|
{ include = "uselect", from = "src" },
|
|
{ include = "ustruct", from = "src" },
|
|
{ include = "usys", from = "src" },
|
|
]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.12"
|
|
|
|
[tool.poetry.group.doc.dependencies]
|
|
sphinx = "^9.1.0"
|
|
sphinx-rtd-theme = "^3.1.0"
|
|
|
|
|
|
[tool.poetry.group.lint.dependencies]
|
|
ruff = "^0.16.4"
|
|
doc8 = "^2.0.0"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core>=1.0.0"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.ruff]
|
|
line-length = 88
|
|
extend-exclude = ["jedi", "examples/pup/tools/hub_menu.py"]
|
|
|
|
[tool.ruff.lint]
|
|
# E501: formatter handles line length; E701: stubs use one-line defs
|
|
ignore = ["E501", "E701"]
|
|
|
|
[tool.doc8]
|
|
ignore-path = "jedi/,.venv/,doc/main/build/,doc/api/build/,pybricks.egg-info/,npm/"
|
|
max-line-length = 88
|