-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy pathpyproject.toml
63 lines (51 loc) · 1.69 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
[project]
name = "keymap-drawer"
version = "0.20.0"
description = "A module and CLI tool to help parse and draw keyboard layouts."
authors = [{name = "Cem Aksoylar", email = "[email protected]"}]
readme = "README.md"
license = "MIT"
requires-python = ">=3.10,<4.0"
dependencies = [
"pydantic (>=2.0.0,<3.0.0)",
"pcpp (>=1.30,<2.0)",
"pyyaml (>=6.0,<7.0)",
"platformdirs (>=4.0.0,<5.0.0)",
"pydantic-settings (>=2.2.1,<3.0.0)",
"tree-sitter (>=0.23.2,<0.24.0)",
"tree-sitter-devicetree (>=0.12.1,<0.13.0)"
]
[project.optional-dependencies]
dev = ["mypy", "pylint", "black", "pylint-pydantic", "types-pyyaml", "deptry (>=0.22.0)", "hjson"]
lsp = ["python-lsp-server"]
[project.scripts]
keymap = 'keymap_drawer.__main__:main'
[project.urls]
homepage = "https://github.com/caksoylar/keymap-drawer"
repository = "https://github.com/caksoylar/keymap-drawer"
issues = "https://github.com/caksoylar/keymap-drawer/issues"
releasenotes = "https://github.com/caksoylar/keymap-drawer/releases"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
requires-poetry = ">=2.0"
include = [{path = "resources", format = ["sdist", "wheel"]}]
[tool.pylint.master]
extension-pkg-whitelist = "pydantic"
load-plugins = "pylint_pydantic"
[tool.pylint.basic]
good-names = "x,y,w,h,r,f,k,v,p,m,c"
max-line-length = 120
[tool.pylint."messages control"]
disable = ["too-few-public-methods", "line-too-long", "too-many-arguments", "too-many-positional-arguments"]
[tool.mypy]
plugins = "pydantic.mypy"
[tool.black]
line-length = 120
[tool.isort]
src_paths = ["keymap_drawer"]
profile = "black"
line_length = 120
[tool.deptry]
pep621_dev_dependency_groups = ["dev", "lsp"]