aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml73
1 files changed, 47 insertions, 26 deletions
diff --git a/pyproject.toml b/pyproject.toml
index b380c7d..9e463c0 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,16 +1,19 @@
[tool.poetry]
-name = "taskipy"
+name = "taskipy2"
description = "tasks runner for python projects"
version = "1.14.1"
-authors = ["Roy Sommer <roy@sommer.co.il>"]
+authors = [
+ "Eugene Triguba <hello@eugenetriguba.com>",
+ "Originally By Roy Sommer <roy@sommer.co.il>"
+]
readme = "README.md"
-repository = "https://github.com/taskipy/taskipy"
+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",
+ "Intended Audience :: Developers",
+ "License :: OSI Approved :: MIT License",
+ "Topic :: Software Development :: Build Tools",
]
packages = [{ include = "taskipy" }]
@@ -20,40 +23,58 @@ task = 'taskipy.cli:main'
[tool.poetry.dependencies]
python = "^3.6"
tomli = [
- { version = "^2.0.1", python = "^3.7" },
- { version = "^1.2.3", python = "~3.6" },
+ { version = "^2.0.1", python = "^3.7" },
+ { version = "^1.2.3", python = "~3.6" },
]
psutil = ">=5.7.2,<7"
mslex = { version = "^1.1.0", markers = "sys_platform == 'win32'" }
colorama = "^0.4.4"
-[tool.poetry.dev-dependencies]
+[tool.poetry.group.dev.dependencies]
pylint = [
- { version = "2.12.0", python = ">=3.6,<3.11" },
- { version = "^3.0.0", python = "^3.11" },
+ { version = "^2.12.0", python = ">=3.6,<3.11" },
+ { version = "^3.0.0", python = "^3.11" },
+]
+mypy = [
+ { version = "0.971", python = ">=3.6,<3.9" },
+ { version = "^1.19", python = "^3.9" },
+]
+parameterized = [
+ { version = "^0.8.1", python = ">=3.6,<3.7" },
+ { version = "^0.9.0", python = "^3.7" },
]
-mypy = "0.971"
-rope = "0.14.0"
-parameterized = "0.8.1"
[tool.taskipy.tasks]
-test = { cmd = "python -m unittest -v tests/test_*.py", help = "runs all tests" }
post_test = "./task lint"
-
-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" }
-
-lint = { cmd = "./task lint_pylint && ./task lint_mypy", help = "lint project with pylint for style and mypy for typings" }
+pre_publish_patch = "./task test"
+pre_publish_minor = "./task test"
lint_pylint = "pylint tests taskipy"
lint_mypy = "mypy tests taskipy"
-make_release_commit = { cmd = "python ./.hooks/make_release_commit.py", help = "creates a tagged commit for the release. do not use directly" }
+[tool.taskipy.tasks.test]
+cmd = "python -m unittest -v tests/test_*.py"
+help = "runs all tests"
-pre_publish_patch = "./task test"
-publish_patch = { cmd = "poetry version patch && ./task make_release_commit", help = "publishes a patch version, that has only fixes but no new features (x.x.PATCH)" }
+[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"
-pre_publish_minor = "./task test"
-publish_minor = { cmd = "poetry version minor && ./task make_release_commit", help = "publishes a minor version, which has new features (x.MINOR.x)" }
+[tool.taskipy.tasks.lint]
+cmd = "./task lint_pylint && ./task lint_mypy"
+help = "lint project with pylint for style and mypy for typings"
+
+[tool.taskipy.tasks.make_release_commit]
+cmd = "python ./.hooks/make_release_commit.py"
+help = "creates a tagged commit for the release. do not use directly"
+
+[tool.taskipy.tasks.publish_patch]
+cmd = "poetry version patch && ./task make_release_commit"
+help = "publishes a patch version, that has only fixes but no new features (x.x.PATCH)"
+
+[tool.taskipy.tasks.publish_minor]
+cmd = "poetry version minor && ./task make_release_commit"
+help = "publishes a minor version, which has new features (x.MINOR.x)"
[build-system]
-requires = ["poetry>=0.12"]
-build-backend = "poetry.masonry.api"
+requires = ["poetry-core>=1.0.0"]
+build-backend = "poetry.core.masonry.api"