-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
57 lines (48 loc) · 1.23 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[tool.poetry]
name = "portrayt"
version = "0.4.0"
description = "This project combines e-paper, raspberry pi's, and StableDiffusion to make a picture frame that portrays anything you ask of it."
authors = ["Alex Thiele <apocthiel@gmail.com>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.8"
pydantic = "^1.10.2"
replicate = "0.0.1a16"
gradio = "^3.3"
inky = "^1.3.2"
opencv-python = { version = "^4.6.0.66", optional = true }
"RPi.GPIO" = "^0.7.1"
[tool.poetry.dev-dependencies]
types-requests = "^2.28.10"
darglint = "^1.8.1"
vulture = "^2.5"
bandit = "^1.7"
isort = "^5.10"
flake8-bugbear = "^22.7"
black = "^22.6"
mypy = "^0.961"
pytest = "^7.1"
pytest-cov = "^3.0"
pep8-naming = "^0.13.1"
portray = "^1.7"
cruft = "^2.10"
[tool.poetry.extras]
opencv = ["opencv-python"]
[tool.poetry.scripts]
run-portrayt = "portrayt.main:main"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.black]
line-length = 100
[tool.isort]
profile = "hug"
[tool.mypy]
strict = true
ignore_missing_imports = true
disallow_subclassing_any = false
implicit_reexport = true
# We can't add annotations to decorators from other libraries, making this
# check not very useful
disallow_untyped_decorators = false