circuitmatter/pyproject.toml
Chris Wesseling d6917a939a Stricter types
Makes things like this give a type error:

```
class NullTest(tlv.TLVStructure):
    n = tlv.BoolMember(None, nullable=True)
    notn = tlv.BoolMember(None, nullable=False)

s = NullTest()
s.n = None  # checks ok
s.notn = None  # doesn't type check
```
2024-07-20 19:38:20 +02:00

33 lines
684 B
TOML

[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "circuitmatter"
authors = [{name = "Scott Shawcroft", email = "scott@adafruit.com"}]
license = {file = "LICENSE"}
classifiers = ["License :: OSI Approved :: MIT License"]
dynamic = ["version", "description"]
[project.urls]
Home = "https://github.com/adafruit/circuitmatter"
"Bug Tracker" = "https://github.com/adafruit/circuitmatter/issues"
[project.optional-dependencies]
test = [
"hypothesis",
"pytest",
"pytest-cov",
"typing_extensions",
]
[tool.coverage.run]
branch = true
source = [
"circuitmatter",
]
[tool.pytest.ini_options]
pythonpath = [
"."
]