Skip to content

Commit 34fe219

Browse files
committed
first init
1 parent a7fe4f8 commit 34fe219

File tree

6 files changed

+10
-48
lines changed

6 files changed

+10
-48
lines changed

dev-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pylint==3.2.1
22
httpretty==1.1.4
3-
mypy==1.9.0
3+
pyright==1.1.394
44
sphinx==7.1.2
55
sphinx-rtd-theme==2.0.0rc4
66
sphinx-autodoc-typehints==1.25.2

mypy-relaxed.ini

Lines changed: 0 additions & 22 deletions
This file was deleted.

mypy-requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

mypy.ini

Lines changed: 0 additions & 22 deletions
This file was deleted.

pyproject.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,20 @@ addopts = "-rs -v"
33
log_cli = true
44

55
[tool.pyright]
6-
typeCheckingMode = "off"
6+
typeCheckingMode = "strict"
77
reportMissingTypeStubs = "error"
88
include = [
99
"opentelemetry-api/src",
1010
"opentelemetry-sdk/src",
1111
"opentelemetry-semantic-conventions/src",
1212
]
13+
reportUnnecessaryTypeIgnoreComment = true
14+
pythonVersion >= "3.9"
15+
reportPrivateUsage = false # Ignore private attributes added by instrumentation packages.
16+
17+
exclude = [
18+
"opentelemetry-python/tests/**",
19+
]
1320

1421
[tool.ruff]
1522
# https://docs.astral.sh/ruff/configuration/

pyright-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pyright==1.1.381
1+
pyright==1.1.394

0 commit comments

Comments
 (0)