-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (74 loc) · 1.99 KB
/
pyproject.toml
File metadata and controls
81 lines (74 loc) · 1.99 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]
[tool.poetry]
authors = [
"Moritz Ulmer <moritz@silentwind.eu>",
]
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.4.1"
[tool.poetry.dependencies]
# Qt bindings
PySide6 = "~=6.7.2"
# Platform specific directories
platformdirs = "~=4.2.2"
# Flash ESP-based chips with firmware and secrets
esptool = "~=4.7.0"
# Save/load auth token
keyring = "~=25.2.1"
# Create filesystem image with secrets
littlefs-python = "~=0.12.0"
# Parse auth token
pyjwt = {version = "~=2.8.0", extras = ["crypto"]}
# Read controller serial communication
pyserial = "~=3.5"
# Python interpretter
python = "~=3.10.0"
# Download firmware/bootloader images
requests = "~=2.32.3"
# Work with semantic versions
semantic-version = "~=2.10.0"
[tool.poetry.group.dev.dependencies]
# Code formatter
black = "~=24.4"
# VS Code debug client
debugpy = "~=1.6"
# Inline debugger
ipdb = "0.13.13"
# Check for upgrades of pip dependencies
pip-check = "~=2.8"
# Create distributable binary
pyinstaller = "~=6.2"
# Used for linting tests
ruff = "~=0.5.4"
# 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