8000 Use latest pyright again (#1079) · stripe/stripe-python@b3a3da0 · GitHub
[go: up one dir, main page]

Skip to content

Commit b3a3da0

Browse files
Use latest pyright again (#1079)
1 parent 10e3ba1 commit b3a3da0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

constraints.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
# cryptography 40.0.0 deprecates support for Python 3.6 and PyPy3 < 7.3.10
22
cryptography<40
3-
# TODO (remove later): pyright 1.1.323 introduces false positive errors
4-
pyright<1.1.323

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ exclude = '''
2323
)
2424
'''
2525
[tool.pyright]
26+
executionEnvironments=[
27+
{"root" = "stripe"}
28+
]
2629
include=["stripe"]
30+
exclude=["build", "**/__pycache__"]
2731
reportMissingTypeArgument=true
2832
reportUnnecessaryCast=true
2933
reportUnnecessaryComparison=true

0 commit comments

Comments
 (0)
0