-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
114 lines (105 loc) · 2.79 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
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "etpclient"
version = "0.0.0" # Set at build time
description = "ETP client"
authors = ["Valentin Gauthier <valentin.gauthier@geosiris.com>"]
maintainers = [
"Valentin Gauthier <valentin.gauthier@geosiris.com>"
]
license = "Apache-2.0"
readme = "README.md"
homepage = "http://www.geosiris.com"
repository = "https://github.com/geosiris-technologies/etpclient-python"
packages = [
{ include = 'etpclient', from = '.' }
]
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.8",
"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"
lxml = "^4.6.3"
xmljson = "^0.2.1"
websocket-client = "^1.0.0"
requests = "^2.25.1"
ipykernel = "^6.5.1"
h5py = "^3.7.0"
etptypes = "^1.0.4"
etpproto = "^1.0.2"
pytest = "^7.4.3"
[tool.poetry.dev-dependencies]
pytest = "^7.0.0"
bandit = "^1.7.1"
pylint = "^2.11.1"
black = "^22.3.0"
flake8 = "^4.0.1"
mypy = "^0.981"
pytest-cov = "^4.0.0"
[tool.black]
line-length = 79
target-version = ["py38"]
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[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 = ["etpclient"]
[tool.pylint.format]
max-line-length = "88"
[tool.poetry.scripts]
client = "etpclient.main:main"
[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 -%}
"""