-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
89 lines (76 loc) · 2.46 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
86
87
88
89
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "habito"
version = "1.2.0"
requires-python = '>=3.10'
description = 'Simple command line habits tracker'
authors = [{ name = 'codito', email = 'codito@codito.in' }]
dependencies = ["click", "peewee>=3.0.15", "terminaltables", "dateparser"]
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS',
'Topic :: Terminals',
'Topic :: Utilities',
]
keywords = ["habits", "goals", "track", "tracking", "quantified", "self"]
readme = { file = "README.md", content-type = "text/markdown" }
[project.optional-dependencies]
test = [
"mkdocs",
"mkdocs-material",
"pre-commit",
"pytest",
"pytest-cov",
"pytest-mock",
"ruff",
"types-peewee",
"twine",
"build",
"wheel",
]
[project.scripts]
habito = "habito.commands:cli"
[project.urls]
Homepage = 'https://github.com/codito/habito'
Documentation = 'https://apps.codito.in/habito'
Source = 'https://github.com/codito/habito'
Changelog = 'https://github.com/codito/habito/blob/master/CHANGELOG.md'
[tool.setuptools]
include-package-data = false
[tool.setuptools.package-data]
"habito" = ["**/*.yml", "**/*.md"]
[tool.setuptools.packages.find]
where = ["."] # ["."] by default
include = ["habito*"] # ["*"] by default
exclude = ["contrib", "docs", "tests*"] # empty by default
namespaces = false # true by default
[tool.coverage.run]
omit = ["habito/main.py"]
[tool.coverage.report]
show_missing = "true"
[tool.pytest.ini_options]
addopts = "--cov=habito --cov-report=term-missing --cov-fail-under=100 --quiet"
[tool.ruff]
exclude = [".venv", "venv"]
line-length = 88
[tool.ruff.lint]
ignore = []
select = ["D", "E", "F", "W"]
[tool.ruff.lint.per-file-ignores]
"tests/*.py" = ["D101", "D102", "D103"]
"**/*.py" = ["F405", "D203", "D213"]