-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
63 lines (53 loc) · 1.34 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
[tool.poetry]
name = "freewili"
version = "0.0.0"
description = ""
authors = ["David Rebbe <drebbe@intrepidcs.com>"]
readme = "README.md"
license = "MIT"
homepage = "https://freewili.com/"
repository = "https://github.com/freewili/freewili-python"
keywords = ["freewili"]
[tool.poetry.dependencies]
python = "^3.10"
pyserial = "^3.5"
result = "^0.17.0"
pillow = "^10.4.0"
typing-extensions = "^4.12.2"
[tool.poetry.group.dev.dependencies]
mypy = "^1.10.1"
ruff = "^0.5.3"
pre-commit = "^3.7.1"
[build-system]
requires = ["poetry-core", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry.scripts]
fwi-serial = 'freewili.cli:main'
fwi-convert = 'freewili.cli:convert'
[tool.mypy]
ignore_missing_imports = true
disallow_untyped_defs = true
disallow_untyped_calls = true
[tool.poetry-dynamic-versioning]
enable = true
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"I", # isort
"N", # PEP8 naming convetions
"D" # pydocstyle
]
ignore = [
"C901", # too complex
"D401", # imperative mood
"D105", # missing docstring in magic method
"D107", # missing docstring in __init__
]
[tool.ruff.lint.pydocstyle]
convention = "google"