summaryrefslogtreecommitdiffstats
path: root/pyproject.toml
blob: 0e901b1c858be0d57857d1fcb7c15c889c5c1f4e (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
[tool.poetry]
name = "pydanclick"
version = "0.1.0"
description = "Back-and-forth serialization with click and pydantic!"
authors = ["Romain Gonçalves <me@rgoncalves.se>"]
packages = [
    { include = "pydanclick" },
]


[tool.poetry.dependencies]
python = "^3.10"
pydantic = "^1.9.1"
typing-extensions = "^4.3.0"

[tool.poetry.dev-dependencies]
ipython = "^8.4.0"
flake8 = "^4.0.1"
black = "^22.6.0"
isort = "^5.10.1"

[tool.poetry.group.dev.dependencies]
mypy = "^0.981"
pytest = "^7.1.3"
pytest-cov = "^4.0.0"
coverage = "^6.5.0"

[tool.mypy]
plugins = "pydantic.mypy"

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--doctest-modules --cov -ra -q"

[tool.coverage.paths]
source = ["pydanclick"]

[tool.coverage.run]
branch = true
source = ["pydanclick"]
omit = ["*examples*"]

[tool.coverage.report]
show_missing = true
fail_under = 100
exclude_lines = ["pragma: no cover"]

[tool.black]
line-length = 80

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
remember that computers suck.