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
|
[project]
name = "taskipy2"
description = "tasks runner for python projects"
version = "1.16.0"
authors = [
{ name = "Roy Sommer", email = "roy@sommer.co.il" },
{ name = "Eugene Triguba", email = "hello@eugenetriguba.com" }
]
maintainers = [{ name = "Eugene Triguba", email = "hello@eugenetriguba.com" }]
readme = "README.md"
repository = "https://sr.ht/~eugenetriguba/taskipy"
license = "MIT"
keywords = ["tasks", "task runner", "development"]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Build Tools",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
requires-python = ">=3.6"
dependencies = [
"tomli>=2.0.1; python_version >= '3.7' and python_version < '3.11'",
"tomli>=1.2.3; python_version == '3.6'",
"psutil>=5.7.2",
"mslex>=1.1.0; sys_platform == 'win32'",
"colorama>=0.4.4",
]
packages = [{ include = "taskipy" }]
[project.urls]
Repository = "https://sr.ht/~eugenetriguba/taskipy"
[project.scripts]
task = "taskipy.cli:main"
[dependency-groups]
test = [
"parameterized==0.8.1,<0.9.0; python_version == '3.6'",
"parameterized==0.9.0; python_version >= '3.7'",
"pytest>=9.0.0; python_version >= '3.10'",
"pytest>=8.0.0; python_version >= '3.8'",
"pytest>=6.2.0; python_version >= '3.6'",
]
lint = [
"mypy==1.19.1; python_version >= '3.9'",
"ruff==0.15.7; python_version >= '3.7'",
"black==26.3.1; python_version >= '3.10'",
"isort==8.0.1; python_version >= '3.10'",
]
[tool.taskipy.settings]
use_vars = true
[tool.taskipy.variables]
module_dir = "taskipy"
tests_dir = "tests"
[tool.taskipy.tasks]
lint = """
task lint_format \
&& task lint_analyze \
&& task lint_types
"""
lint_format = """
black {module_dir} {tests_dir} \
&& isort {module_dir} {tests_dir}
"""
lint_analyze = "ruff check {module_dir} {tests_dir} --exclude {tests_dir}/fixtures"
lint_types = "mypy {module_dir} {tests_dir}"
test = "pytest -v {tests_dir}"
test_windows = "pytest -v {tests_dir}\\test_windows.py"
[tool.isort]
profile = "black"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["taskipy"]
|