FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
stripe-python/pyproject.toml at master · devharnold/stripe-python · GitHub
devharnold
/
stripe-python
Public
forked from
stripe/stripe-python
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
stripe-python
/
pyproject.toml
Copy path
More file actions
More file actions
Latest commit
History
History
History
47 lines (43 loc) · 1.42 KB
Breadcrumbs
stripe-python
/
pyproject.toml
Copy path
File metadata and controls
47 lines (43 loc) · 1.42 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
[
tool
.
ruff
]
#
same as our black config
line-length
=
79
extend-exclude
= [
"
build
"
]
[
tool
.
ruff
.
format
]
#
currently the default value, but opt-out in the future
docstring-code-format
=
false
[
tool
.
pyright
]
include
= [
"
stripe
"
,
"
tests/test_generated_examples.py
"
,
"
tests/test_exports.py
"
,
"
tests/test_http_client.py
"
,
]
exclude
= [
"
build
"
,
"
**/__pycache__
"
]
reportMissingTypeArgument
=
true
reportUnnecessaryCast
=
true
reportUnnecessaryComparison
=
true
reportUnnecessaryContains
=
true
reportUnnecessaryIsInstance
=
true
reportPrivateImportUsage
=
true
reportUnnecessaryTypeIgnoreComment
=
true
[
tool
.
mypy
]
follow_imports
=
"
silent
"
python_version
=
"
3.10
"
files
= [
"
tests/test_generated_examples.py
"
,
"
tests/test_exports.py
"
]
disallow_untyped_calls
=
true
disallow_untyped_defs
=
true
warn_unused_ignores
=
true
no_implicit_reexport
=
true
[
tool
.
pytest
.
ini_options
]
#
use as many threads as available for tests
addopts
=
"
-n auto
"
#
already the default, but will speed up searching a little, since this is the only place tests live
testpaths
=
"
tests
"
#
these are warnings we show to users; we don't need them in our test logs
filterwarnings
= [
#
single quotes so we don't have to re-backslack our backslashes
'
ignore:[\S\s]*stripe-python:DeprecationWarning
'
,
'
ignore:[\S\s]*stripe\..* package:DeprecationWarning
'
,
'
ignore:[\S\s]*RecipientTransfer:DeprecationWarning
'
,
'
ignore:[\S\s]*`save` method is deprecated:DeprecationWarning
'
,
]
Back
|
FazBrowse Home
|
New Git URL