annotate pyproject.toml @ 29:35affd4d37d4 default tip

add 1st ikea color light
author drewp@bigasterisk.com
date Sat, 14 Dec 2024 22:36:29 -0800
parents 32cfefe3155b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
drewp@bigasterisk.com
parents:
diff changeset
1 [project]
drewp@bigasterisk.com
parents:
diff changeset
2 name = "light-bridge"
drewp@bigasterisk.com
parents:
diff changeset
3 version = "0.0.1"
drewp@bigasterisk.com
parents:
diff changeset
4 description = ""
drewp@bigasterisk.com
parents:
diff changeset
5 authors = [
drewp@bigasterisk.com
parents:
diff changeset
6 {name = "Drew Perttula", email = "drewp@bigasterisk.com"},
drewp@bigasterisk.com
parents:
diff changeset
7 ]
drewp@bigasterisk.com
parents:
diff changeset
8 dependencies = [
drewp@bigasterisk.com
parents:
diff changeset
9 "ruff>=0.0.286",
drewp@bigasterisk.com
parents:
diff changeset
10 "starlette-exporter>=0.13.0",
drewp@bigasterisk.com
parents:
diff changeset
11 "starlette>=0.20.4",
27
32cfefe3155b try harder to crash if there's an mqtt error, so k8s does a full restart
drewp@bigasterisk.com
parents: 14
diff changeset
12 "uvicorn>=0.29.0",
0
drewp@bigasterisk.com
parents:
diff changeset
13 "background-loop>=1.3.0",
drewp@bigasterisk.com
parents:
diff changeset
14 "patchablegraph>=1.5.0",
drewp@bigasterisk.com
parents:
diff changeset
15 "rdfdb==0.24.0",
8
181a86533286 share Color with dimcurve
drewp@bigasterisk.com
parents: 0
diff changeset
16 "dataclasses-json>=0.6.3",
14
e3dbd04dab96 add mqtt; talk to first light (no throttling)
drewp@bigasterisk.com
parents: 8
diff changeset
17 "aiomqtt>=2.0.0",
0
drewp@bigasterisk.com
parents:
diff changeset
18 ]
drewp@bigasterisk.com
parents:
diff changeset
19 requires-python = ">=3.11"
drewp@bigasterisk.com
parents:
diff changeset
20 license = {text = "MIT"}
drewp@bigasterisk.com
parents:
diff changeset
21
drewp@bigasterisk.com
parents:
diff changeset
22 [build-system]
drewp@bigasterisk.com
parents:
diff changeset
23 requires = ["pdm-pep517>=1.0.0"]
drewp@bigasterisk.com
parents:
diff changeset
24 build-backend = "pdm.pep517.api"
drewp@bigasterisk.com
parents:
diff changeset
25
drewp@bigasterisk.com
parents:
diff changeset
26 [[tool.pdm.source]]
drewp@bigasterisk.com
parents:
diff changeset
27 url = "https://projects.bigasterisk.com/"
drewp@bigasterisk.com
parents:
diff changeset
28 verify_ssl = true
drewp@bigasterisk.com
parents:
diff changeset
29 name = "home"
drewp@bigasterisk.com
parents:
diff changeset
30
drewp@bigasterisk.com
parents:
diff changeset
31 [tool.ruff]
drewp@bigasterisk.com
parents:
diff changeset
32 ignore = []
drewp@bigasterisk.com
parents:
diff changeset
33
drewp@bigasterisk.com
parents:
diff changeset
34 exclude = [
drewp@bigasterisk.com
parents:
diff changeset
35 ".hg",
drewp@bigasterisk.com
parents:
diff changeset
36 ".ruff_cache",
drewp@bigasterisk.com
parents:
diff changeset
37 ".venv",
drewp@bigasterisk.com
parents:
diff changeset
38 "__pypackages__",
drewp@bigasterisk.com
parents:
diff changeset
39 "dist",
drewp@bigasterisk.com
parents:
diff changeset
40 "node_modules",
drewp@bigasterisk.com
parents:
diff changeset
41 ]
drewp@bigasterisk.com
parents:
diff changeset
42
drewp@bigasterisk.com
parents:
diff changeset
43 line-length = 160
drewp@bigasterisk.com
parents:
diff changeset
44
drewp@bigasterisk.com
parents:
diff changeset
45 # Allow unused variables when underscore-prefixed.
drewp@bigasterisk.com
parents:
diff changeset
46 dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
drewp@bigasterisk.com
parents:
diff changeset
47
drewp@bigasterisk.com
parents:
diff changeset
48 target-version = "py311"
drewp@bigasterisk.com
parents:
diff changeset
49
drewp@bigasterisk.com
parents:
diff changeset
50 ["tool.ectoscope"]
drewp@bigasterisk.com
parents:
diff changeset
51 cookiecutter-path = "/my/proj/ectoscope/cookie/skeleton"
drewp@bigasterisk.com
parents:
diff changeset
52 cookiecutter-rev = "b421cb90fed4"