forked from marcosschroh/dataclasses-avroschema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
119 lines (103 loc) · 2.33 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[tool.poetry]
name = "dataclasses-avroschema"
version = "0.43.7"
description = "Generate Avro Schemas from Python classes. Serialize/Deserialize python instances with avro schemas"
authors = ["Marcos Schroh <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [{include = "dataclasses_avroschema"}]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development",
]
[tool.poetry.dependencies]
python = "^3.7"
fastavro = "^1.7.3"
dacite = "^1.8.0"
faker = "^18.3.1"
stringcase = "^1.2.0"
inflector = "^3.1.0"
pydantic = {version = "^1.10.7", optional = true}
faust-streaming = {version = "^0.10.11", optional = true}
[tool.poetry.group.dev.dependencies]
mypy = "^1"
ruff = "^0"
black = "^23"
pytest = "^7"
pytest-cov = "^4"
types-pytz = "^2023"
[tool.poetry.group.docs.dependencies]
mkdocs = "^1"
mkdocs-material = "^9"
[tool.poetry.group.cli.dependencies]
dc-avro = "^0.6.4"
[tool.poetry.group.ci-publish.dependencies]
commitizen = "^3.2.2"
[tool.poetry.extras]
pydantic = [
"pydantic",
]
faust = [
"faust-streaming",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
target_version = ['py37']
[tool.mypy]
allow_empty_bodies = true
[[tool.mypy.overrides]]
module = "stringcase.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "inflector.*"
ignore_missing_imports = true
[tool.ruff]
line-length = 120
select = [
# Pyflakes
"F",
# isort
"I001"
]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
".venv",
]
[tool.ruff.pydocstyle]
convention = "google"
[tool.commitizen]
version = "0.43.7"
tag_format = "$version"
version_files = [
"pyproject.toml:version",
]
update_changelog_on_bump = true
major_version_zero = true