-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
84 lines (74 loc) · 1.99 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
[tool.poetry]
name = "dc-avro"
version = "0.9.3"
description = ""
authors = ["Marcos Schroh <[email protected]>"]
readme = "README.md"
packages = [{include = "dc_avro"}]
license = "MIT"
keywords = ["avro", "schemas", "dataclasses", "pydantic", "lint"]
classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: System :: Networking",
"Topic :: System :: Distributed Computing",
]
[tool.poetry.dependencies]
python = "^3.9"
aiofiles = ">=24.1.0,<25.0" # remove this
httpx = ">=0.23.3,<0.28.0"
dataclasses-avroschema = ">=0.57.2"
typer = {extras = ["all"], version = ">=0.9,<0.13"}
deepdiff = ">=6.2.3,<9.0.0"
[tool.poetry.group.dev.dependencies]
commitizen = "^3.30.0"
ruff = ">=0.5.0,<0.8"
mypy = "^1"
mkdocs = "^1.4.2"
pytest = ">=7.2,<9.0"
pytest-cov = ">=4,<7"
mkdocs-material = "^9.5.44"
types-attrs = "^19.1.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
dc-avro = "dc_avro.main:app"
[tool.ruff.lint]
ignore = ["E402"]
fixable = ["ALL"]
unfixable = []
select = [
# pycodestyle"
"E4",
"E7",
"E9",
"E501",
# Pyflakes
"F",
# isort
"I001"
]
[tool.ruff.lint.extend-per-file-ignores]
"tests/test_cli.py" = ["E501"]
"tests/conftest.py" = ["E501"]
"tests/test_schema_utils.py" = ["E501"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.commitizen]
version_provider = "poetry"
tag_format = "$version"
update_changelog_on_bump = true
major_version_zero = true
# After adding the file .pyi stub files we can remove this
[[tool.mypy.overrides]]
module = "dataclasses_avroschema"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "deepdiff"
ignore_missing_imports = true