[tool.poetry] name = "pybricks" version = "4.0.0" description = "Documentation and user-API stubs for Pybricks MicroPython" authors = ["The Pybricks Authors "] maintainers = ["Laurens Valk ", "David Lechner " ] 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" [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