Add typings for builtins
This commit is contained in:
parent
90c40c6f69
commit
9db67bb661
3 changed files with 2481 additions and 0 deletions
|
@ -13,6 +13,9 @@ classifiers = [
|
||||||
"Development Status :: 4 - Beta",
|
"Development Status :: 4 - Beta",
|
||||||
"Topic :: Scientific/Engineering",
|
"Topic :: Scientific/Engineering",
|
||||||
]
|
]
|
||||||
|
dependencies = [
|
||||||
|
"gwpy>=3.0.10",
|
||||||
|
]
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["hatchling"]
|
requires = ["hatchling"]
|
||||||
|
@ -32,3 +35,9 @@ docstring-code-format = true
|
||||||
|
|
||||||
[tool.basedpyright]
|
[tool.basedpyright]
|
||||||
typeCheckingMode = "all"
|
typeCheckingMode = "all"
|
||||||
|
|
||||||
|
[dependency-groups]
|
||||||
|
dev = [
|
||||||
|
"basedpyright>=1.28.4",
|
||||||
|
"ruff>=0.11.2",
|
||||||
|
]
|
||||||
|
|
1
typings/__builtins__.pyi
Normal file
1
typings/__builtins__.pyi
Normal file
|
@ -0,0 +1 @@
|
||||||
|
def _(str: str) -> str: ...
|
Loading…
Reference in a new issue