aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
blob: b0696de88417d3a9bdd1655e9a21b0de6edcf678 (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
[tool.poetry]
name = "taskipy"
description = "tasks runner for python projects"
version = "1.4.0"
authors = ["Roy Sommer <roy@sommer.co.il>"]
readme = "README.md"
repository = "https://github.com/illBeRoy/taskipy"
license = "MIT"
keywords = ["tasks", "task runner", "development"]
classifiers = [
    "Intended Audience :: Developers",
    "License :: OSI Approved :: MIT License",
    "Topic :: Software Development :: Build Tools"
]
packages = [
    { include = "taskipy" }
]

[tool.poetry.scripts]
task = 'taskipy.cli:main'

[tool.poetry.dependencies]
python = "^3.6"
toml = "^0.10.0"
psutil = "^5.7.2"

[tool.poetry.dev-dependencies]
pylint = "^2.4.4"
mypy = "^0.761"
rope = "^0.14.0"
psutil = "^5.6.7"

[tool.taskipy.tasks]
test = "python -m unittest -v tests/test_*.py"
post_test = "./task lint"

lint = "./task lint_pylint && ./task lint_mypy"
lint_pylint = "pylint tests taskipy"
lint_mypy = "mypy tests taskipy"

publish = "poetry publish --build"
post_publish = "./task make_release_commit"

make_release_commit = "python ./.hooks/make_release_commit.py"

pre_publish_patch = "./task test"
publish_patch = "poetry version patch && ./task publish"

pre_publish_minor = "./task test"
publish_minor = "poetry version minor && ./task publish"

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"