annotate pyproject.toml @ 7:f0d549ec5e59 default tip

deployment and hostname
author drewp@bigasterisk.com
date Mon, 23 Sep 2024 01:24:48 -0700
parents b7b6d7f1ce56
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
1 [project]
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
2 name = "pi_mqtt"
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
3 version = "0.0.1"
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
4 description = ""
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
5 authors = [
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
6 {name = "Drew Perttula", email = "drewp@bigasterisk.com"},
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
7 ]
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
8 dependencies = [
2
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
9 "ruff>=0.0.286",
0
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
10 "starlette-exporter>=0.13.0",
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
11 "starlette>=0.20.4",
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
12 "uvicorn[standard]>=0.18.2",
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
13 "pigpio>=1.78",
2
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
14 "background-loop>=1.8.0",
0
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
15 ]
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
16 requires-python = ">=3.11"
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
17 license = {text = "MIT"}
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
18
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
19 [build-system]
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
20 requires = ["pdm-pep517>=1.0.0"]
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
21 build-backend = "pdm.pep517.api"
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
22
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
23 [[tool.pdm.source]]
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
24 url = "https://projects.bigasterisk.com/"
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
25 verify_ssl = true
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
26 name = "home"
2
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
27
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
28 [tool.ruff]
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
29 ignore = []
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
30
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
31 exclude = [
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
32 ".hg",
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
33 ".ruff_cache",
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
34 ".venv",
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
35 "__pypackages__",
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
36 "dist",
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
37 "node_modules",
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
38 ]
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
39
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
40 line-length = 160
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
41
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
42 # Allow unused variables when underscore-prefixed.
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
43 dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
44
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
45 target-version = "py311"
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
46
b7b6d7f1ce56 bg loop now crashes if there's an error
drewp@bigasterisk.com
parents: 0
diff changeset
47 [tool.ectoscope]
0
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
48 cookiecutter-path = "/my/proj/ectoscope/cookie/skeleton"
3989f073ed9e start. hardcoded motion light in garage
drewp@bigasterisk.com
parents:
diff changeset
49 cookiecutter-rev = "2462b4f9b0b4"