-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
executable file
·85 lines (73 loc) · 1.84 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[project]
name = "mewline"
version = "0.1.0"
description = "😺 Elegant and extensible status bar for the meowrch distribution"
readme = "README.md"
requires-python = ">=3.11"
authors = [
{name = "dimflix", email = "[email protected]"},
]
dependencies = [
"fabric",
"loguru>=0.7.3",
"psutil>=6.1.1",
"pydantic>=2.10.6",
"setproctitle>=1.3.4",
]
[dependency-groups]
dev = [
"detect-secrets>=1.5.0",
"pre-commit>=4.1.0",
"ruff>=0.9.4",
]
[tool.uv]
package=true
[tool.uv.sources]
fabric = { git = "https://github.com/Fabric-Development/fabric.git" }
[project.urls]
Homepage = "https://github.com/meowrch/mewline"
Documentation = "https://github.com/meowrch/mewline/wiki"
Repository = "https://github.com/meowrch/mewline.git"
"Bug Tracker" = "https://github.com/meowrch/mewline/issues"
Changelog = "https://github.com/meowrch/mewline/blob/master/CHANGELOG.md"
[project.scripts]
mewline = "mewline.__main__:main"
generate_default_config = "mewline.__main__:generate_default_config"
create_keybindings = "mewline.__main__:create_keybindings"
[tool.ruff]
src = ["src"]
target-version = "py311"
line-length = 88
indent-width = 4
fix = true
[tool.ruff.lint]
select = [
"F", # Pyflakes
"E", # pycodestyle
"W", # pycodestyle
"I", # isort
"D", # pydocstyle
"UP", # pyupgrade
"S", # flake8-bandit
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
"TID", # flake8-tidy-imports
"RUF", # Ruff-specific rules
]
ignore = [
# Line length regulated by ruff formatter
"E501",
# Docstrings not required
"D1",
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"]
[tool.ruff.lint.pycodestyle]
max-doc-length = 88
[tool.ruff.lint.isort]
force-single-line = true
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"