habitmove/pyproject.toml
Marty Oehme e59b19d6e3
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Switch to nox testing and python containers
Switched to basic python containers, onto which the ci
steps simply install poetry.
This takes a little more processing time during pipeline running (~16s
per step),
but also gives much more flexibility in container usage.

Switching to nox for test automation across multiple python versions.

Fixing mypy library stubs missing for some imported libraries.
2022-01-19 14:44:21 +01:00

50 lines
1.1 KiB
TOML

[tool.poetry]
name = "habitmove"
version = "0.4.1"
description = "migrate nomie data to loop habits tracker"
license="GPL-3.0-only"
readme="README.md"
repository="https://git.martyoeh.me/Marty/habit-migrate"
authors = ["Marty Oehme <marty.oehme@gmail.com>"]
packages = [
{ include = "habitmove", from = "src"},
]
[tool.poetry.dependencies]
importlib-metadata = {version = "^0.23", python = "<3.8"}
python = "^3.7"
click = "^8.0"
[tool.poetry.dev-dependencies]
pytest = "^6.2"
coverage = {extras = ["toml"], version = "^6.2"}
pytest-cov = "^3.0.0"
pytest-mock = "^3.6.1"
[tool.poetry.scripts]
habitmove = "habitmove.cli:main"
[tool.coverage.paths]
source = ["src", "*/site-packages"]
[tool.coverage.run]
branch = true
source = ["habitmove"]
[tool.coverage.report]
show_missing = true
# fail_under = 80 # if we want pytest to automatically fail if not enough tests supplied
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[[tool.mypy.overrides]]
module = [
"click",
"click.testing",
"pytest",
"nox",
"importlib-metadata"
]
ignore_missing_imports = true