-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
110 lines (102 loc) · 2.82 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
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry.masonry.api"
[tool.poetry]
name = "etpproto"
version = "0.0.0" # Set at build time
description = "ETP protocol implementation"
authors = [
"Lionel Untereiner <lionel.untereiner@geosiris.com>",
"Valentin Gauthier <valentin.gauthier@geosiris.com>"
]
maintainers = [
"Lionel Untereiner <lionel.untereiner@geosiris.com>",
"Valentin Gauthier <valentin.gauthier@geosiris.com>"
]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/geosiris-technologies/etpproto-python"
homepage = "http://www.geosiris.com"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Typing :: Typed",
]
keywords = ["ETP"]
[tool.poetry.dependencies]
python = "^3.9"
fastavro = "^1.6.1"
coverage = {extras = ["toml"], version = "^6.2"}
etptypes = "^1.0.1"
[tool.poetry.dev-dependencies]
pytest = "^7.0.0"
flake8 = "^4.0.0"
black = "^22.3.0"
pytest-cov = "^3.0.0"
pre-commit = "^2.11.1"
pylint = "^2.7.2"
pytest-asyncio = "^0.18.0"
mypy = "^0.961"
click = ">=8.1.3, <=8.1.3" # upper version than 8.0.2 fail with black
isort = "^5.10.1"
[tool.black]
line-length = 79
target-version = ["py39"]
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.pytest_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| htmlcov
)/
'''
[tool.pytest.ini_options]
addopts = ""
console_output_style = "count"
python_classes = "Test"
python_files = "test_*.py"
python_functions = "test*"
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.coverage.run]
branch = true
source = ["etpproto"]
[tool.pylint.format]
max-line-length = "88"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "pep440"
format-jinja = """
{%- if distance == 0 -%}
{{ serialize_pep440(base, stage, revision) }}
{%- elif revision is not none -%}
{{ serialize_pep440(base, stage, revision + 1, dev=distance) }}
{%- else -%}
{{ serialize_pep440(bump_version(base), stage, revision, dev=distance) }}
{%- endif -%}
"""