forked from caksoylar/keymap-drawer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
71 lines (57 loc) · 1.63 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
67
68
69
70
71
[tool.poetry]
name = "keymap-drawer"
version = "0.13.4"
description = "A module and CLI tool to help parse and draw keyboard layouts."
authors = ["Cem Aksoylar <[email protected]>"]
readme = ["README.md", "KEYMAP_SPEC.md"]
packages = [{include = "keymap_drawer"}]
include = ["keymap_drawer/py.typed", "resources/zmk_keyboard_layouts.yaml", "resources/qmk_layouts/*.json"]
license = "MIT"
homepage = "https://github.com/caksoylar/keymap-drawer"
repository = "https://github.com/caksoylar/keymap-drawer"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/caksoylar/keymap-drawer/issues"
"Release Notes" = "https://github.com/caksoylar/keymap-drawer/releases"
[tool.poetry.dependencies]
python = "^3.10"
pydantic = "^1.10.7"
pcpp = "^1.30"
pyparsing = "^3.0.9"
pyyaml = "^6.0"
platformdirs = "^3.5.1"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
mypy = "^1.3.0"
pylint = "^2.17.4"
black = "^23.3.0"
pylint-pydantic = "^0.1.8"
types-pyyaml = "^6.0.12.10"
deptry = "^0.12.0"
hjson = "^3.1.0"
[tool.poetry.group.lsp]
optional = true
[tool.poetry.group.lsp.dependencies]
python-lsp-server = "^1.7.2"
[tool.poetry.scripts]
keymap = 'keymap_drawer.__main__:main'
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pylint.MASTER]
extension-pkg-whitelist = "pydantic"
load-plugins = "pylint_pydantic"
[tool.pylint.'MESSAGES CONTROL']
disable = """
too-few-public-methods,
"""
[tool.pylint.BASIC]
good-names = "x,y,w,h,r,f,k,p,m,c"
max-line-length = 120
[tool.mypy]
plugins = "pydantic.mypy"
[tool.black]
line-length = 120
[tool.isort]
src_paths = ["keymap_drawer"]
line_length = 120