-
Notifications
You must be signed in to change notification settings - Fork 30
/
pyproject.toml
69 lines (55 loc) · 1.49 KB
/
pyproject.toml
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
68
69
[tool.poetry]
name = "pydantic-avro"
version = "0.7.2"
description = "Converting pydantic classes to avro schemas"
authors = ["Peter van 't Hof' <[email protected]>"]
keywords = ["pydantic", "avro"]
readme = "README.md"
license = "MIT"
homepage = "https://github.com/godatadriven/pydantic-avro"
repository = "https://github.com/godatadriven/pydantic-avro"
include = ["LICENSE"]
packages = [{ include = "pydantic_avro", from = "src" }]
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
pydantic = ">=1.4,<3.0"
[tool.poetry.dev-dependencies]
coverage = { version = "^7.2.2", extras = ["toml"] }
pytest = "^7.4.4"
pytest-mock = "^3.10.0"
pyproject-flake8 = "^7.0.0"
isort = "^5.10.0"
black = "24.4.2"
pytest-cov = "^5.0.0"
mypy = "^1.1.1"
avro = "^1.11.3"
fastavro = "^1.8.1"
[tool.poetry.scripts]
pydantic-avro = "pydantic_avro.__main__:root_main"
[tool.black]
line-length = 120
target-version = ["py38"]
[tool.pytest.ini_options]
addopts = "--junitxml=junit/report.xml"
testpaths = ["tests"]
markers = "requires_database: requires postgresql"
[tool.coverage.report]
omit = ["tests/*", ".venv/*"]
precision = 2
show_missing = true
[tool.coverage.run]
command_line = "-m pytest -v tests/"
omit = ["tests/*", ".venv/*"]
[tool.flake8]
max-line-length = 180
extend-exclude = ["deploy", ".venv"]
extend-ignore = "E203"
[tool.isort]
profile = "black"
line_length = 120
[tool.mypy]
files = "src/"
python_version = "3.9"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"