Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (53 loc) · 1.43 KB
/
Copy pathpyproject.toml
File metadata and controls
60 lines (53 loc) · 1.43 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
[project]
name = "clocky-cli"
version = "2.5.2"
description = "A CLI to interact with your Clockify account, with fuzzy project search and Ubuntu launchers."
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"httpx>=0.28.1",
"pydantic>=2.12.5",
"pydantic-settings>=2.13.0",
"python-dotenv>=1.2.1",
"questionary>=2.1.1",
"rapidfuzz>=3.14.3",
"rich>=14.3.2",
"typer>=0.23.1",
]
[dependency-groups]
dev = [
"pytest>=9.0.2",
"pytest-cov>=6.0.0",
"pytest-httpx>=0.36.0",
"ruff>=0.15.1",
"ty>=0.0.17",
]
[project.scripts]
clocky = "clocky.cli.main:main"
[tool.setuptools.packages.find]
include = ["clocky*"]
[tool.ruff]
target-version = "py312"
line-length = 100
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"D", # pydocstyle
]
ignore = [
"D100", # Missing docstring in public module (handled per-file)
"D104", # Missing docstring in public package
"D203", # one-blank-line-before-class (conflicts with D211)
"D213", # multi-line-summary-second-line (conflicts with D212)
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D"] # No docstring enforcement in tests
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --cov=clocky --cov-report=term-missing --cov-fail-under=50"