-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
109 lines (101 loc) · 1.96 KB
/
pyproject.toml
File metadata and controls
109 lines (101 loc) · 1.96 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[project]
name = "zmk"
description = "A command line program to help set up ZMK Firmware"
readme = "README.md"
requires-python = ">=3.11"
license-files = ["LICENSE"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development",
"Topic :: Utilities",
]
dependencies = [
"dacite >= 1.9.2, < 2.0.0",
"giturlparse >= 0.14.0, < 0.15.0",
"mako >= 1.3.10, < 2.0.0",
"rich >= 14.3.3, < 15.0.0",
"ruamel.yaml >= 0.18.17, < 0.19.0",
"shellingham >= 1.5.4, < 2.0.0",
"typer >= 0.21.0, < 0.22.0",
"west >= 1.5.0, < 2.0.0",
]
dynamic = ["version"]
[project.urls]
Chat = "https://zmk.dev/community/discord/invite"
Documentation = "https://zmk.dev/docs"
"Issue Tracker" = "https://github.com/zmkfirmware/zmk-cli/issues/"
"Source Code" = "https://github.com/zmkfirmware/zmk-cli/"
[project.scripts]
zmk = "zmk.main:app"
[dependency-groups]
dev = [
"prek>=0.3.3",
"pyright>=1.1.408",
"ruff>=0.15.2",
]
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.pyright]
venvPath = "."
venv = ".venv"
[tool.ruff.lint]
select = [
# flake8-builtins
"A",
# flake8-bugbear
"B",
# flake8-blind-except
"BLE",
# flake8-comprehensions
"C4",
# pycodestyle
"E4",
"E7",
"E9",
# pyflakes
"F",
# flake8-boolean-trap
"FBT",
# refurb
"FURB",
# flake8-implicit-str-concat
"ISC",
# pep8-naming
"N",
# perflint
"PERF1",
"PERF4",
# flake8-pie
"PIE",
# flake8-use-pathlib
"PTH",
# flake8-return
"RET",
# ruff
"RUF",
# flake8-bandit
"S1",
"S2",
"S3",
"S5",
"S602",
"S604",
# flake8-simplify
"SIM",
# flake8-self
"SLF",
# flake8-type-checking
"TC",
# pyupgrade
"UP"
]
[tool.setuptools]
packages = ["zmk"]
[tool.setuptools_scm]
version_file = "zmk/_version.py"