This repository has been archived by the owner on Feb 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
66 lines (59 loc) · 1.56 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
58
59
60
61
62
63
64
65
66
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]
[tool.poetry]
authors = [
"Moritz Ulmer <[email protected]>",
]
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"License :: OSI Approved :: Apache Software License",
]
description = "A microcontroller flasher for the Inamata IoT platform"
include = ["fonts/*", "images/*", "uis/*", "translations/*", "littlefs_partition/*"]
license = "Apache-2.0"
name = "inamata_flasher"
packages = [{include = "esp_idf/..", from = "src"}]
readme = "README.md"
version = "1.2.0"
[tool.poetry.dependencies]
PySide6 = "~=6.6.0"
platformdirs = "~=4.0.0"
esptool = "~=4.6.2"
keyring = "~=24.3.0"
littlefs-python = "~=0.4.0"
pyjwt = {version = "~=2.8.0", extras = ["crypto"]}
pyserial = "~=3.5"
python = "~=3.10.0"
requests = "~=2.31.0"
semantic-version = "~=2.10.0"
[tool.poetry.group.dev.dependencies]
black = "~=23.3"
debugpy = "~=1.6"
ipdb = "0.13.13"
pip-check = "~=2.8"
pyinstaller = "~=6.2"
# Used for linting tests
ruff = "~=0.1.6"
# Automate build process
pybuilder = "^0.13.10"
[tool.poetry.scripts]
inamata-flasher = "main:main"
[tool.ruff]
src = ["src"]
# Flake8 F, pycodestyle E and W, mccabe complexity C90, isort I
select = ["F", "E", "W", "C90", "I"]
# E501: line too long
ignore = ["E501"]
# Package files, system libs
extend-exclude = [
".cache/pypoetry/virtualenvs/",
"/usr/lib/",
]
# Assume Python 3.10.
target-version = "py310"
[tool.ruff.mccabe]
max-complexity = 13