aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
blob: af8025478898a5ac5696cd438bc95fcd963ef19e (plain) (blame)
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
[project]
name = "taskipy2"
description = "tasks runner for python projects"
version = "1.15.1"
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",
]
requires-python = ">=3.6"
dependencies = [
  "tomli>=2.0.1; python_version >= '3.7'",
  "tomli>=1.2.3; python_version == '3.6'",
  "psutil>=5.7.2,<7",
  "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]
dev = [
  "pylint>=2.12.0; python_version >= '3.6' and python_version < '3.11'",
  "pylint>=3.0.0; python_version >= '3.11'",
  "mypy==0.971; python_version >= '3.6' and python_version < '3.9'",
  "mypy>=1.19; python_version >= '3.9'",
  "parameterized>=0.8.1; python_version == '3.6'",
  "parameterized>=0.9.0; python_version >= '3.7'",
]

[tool.taskipy.tasks]
post_test = "./task lint"
lint_pylint = "pylint tests taskipy"
lint_mypy = "mypy tests taskipy"

[tool.taskipy.tasks.test]
cmd = "python -m unittest -v tests/test_*.py"
help = "runs all tests"

[tool.taskipy.tasks.test_windows]
cmd = "python -m unittest -v tests\\test_windows.py"
help = "this is a command that is run by our Windows CI on Github"

[tool.taskipy.tasks.lint]
cmd = "./task lint_pylint && ./task lint_mypy"
help = "lint project with pylint for style and mypy for typings"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = ["taskipy"]