-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
96 lines (86 loc) · 1.96 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "opentelemetry-instrumentation-eodag"
version = "0.0.1"
description = "OpenTelemetry EODAG Instrumentation"
readme = "README.rst"
authors = [
{name = "CS GROUP - France (CSSI)", email = "[email protected]"},
]
license = {file = "LICENSE"}
requires-python = ">=3.6"
dependencies = [
"eodag[server]",
"opentelemetry-api",
"opentelemetry-sdk",
]
[project.urls]
Homepage = "https://github.com/CS-SI/opentelemetry-instrumentation-eodag"
Repository = "https://github.com/CS-SI/opentelemetry-instrumentation-eodag"
Issues = "https://github.com/CS-SI/opentelemetry-instrumentation-eodag/issues/"
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"pytest-html",
"pytest-xdist",
"pytest-socket",
"pytest-instafail",
"tox",
"wheel",
"twine",
"flake8",
"Flake8-pyproject",
"pre-commit",
]
instruments = [
"eodag[server]",
]
[project.entry-points.opentelemetry_instrumentor]
eodag = "opentelemetry.instrumentation.eodag:EODAGInstrumentor"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["src"]
exclude = [
"*.tests",
"*.tests.*",
"tests.*",
"tests",
]
[tool.setuptools.package-data]
"*" = [
"LICENSE",
"NOTICE",
"py.typed",
]
[tool.flake8]
ignore = ["E203", "W503"]
max-line-length = 120
exclude = [
".git",
"__pycache__",
".tox",
"build",
"dist",
"docs/conf.py",
"tests/context.py",
]
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
ensure_newline_before_comments = true
known_first_party = "tests"
known_third_party = "concurrent.futures"
default_section = "THIRDPARTY"
[tool.pydocstyle]
# Check for docstring presence only
select = "D1"
add_ignore = ["D107", "D100", "D105"]
# Don't require docstrings for tests or setup
match = '(?!test|setup).*\.py'