-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes: - ✨ Ignore technical dunder Python 3.13 fields (`__static_attributes__` and `__firstlineno__`): (#243) by @nim65s - 🔧 CI: Drop Python 3.7, add Python 3.13 (#243) by @nim65s
- Loading branch information
Showing
148 changed files
with
890 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
maintainer_email="[email protected]", | ||
description="PEP 561 type stubs generator for pybind11 modules", | ||
url="https://github.com/sizmailov/pybind11-stubgen", | ||
version="2.5.1", | ||
version="2.5.2", | ||
long_description=open("README.md").read(), | ||
long_description_content_type="text/markdown", | ||
license="BSD", | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
21 changes: 21 additions & 0 deletions
21
...stubs/python-3.12/pybind11-v2.13/numpy-array-wrap-with-annotated/demo/_bindings/numpy.pyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
from __future__ import annotations | ||
|
||
import typing | ||
|
||
import numpy | ||
|
||
__all__ = [ | ||
"accept_ndarray_float64", | ||
"accept_ndarray_int", | ||
"get_ndarray_float64", | ||
"get_ndarray_int", | ||
"return_dtype", | ||
] | ||
|
||
def accept_ndarray_float64( | ||
arg0: typing.Annotated[numpy.ndarray, numpy.float64] | ||
) -> None: ... | ||
def accept_ndarray_int(arg0: typing.Annotated[numpy.ndarray, numpy.int32]) -> None: ... | ||
def get_ndarray_float64() -> typing.Annotated[numpy.ndarray, numpy.float64]: ... | ||
def get_ndarray_int() -> typing.Annotated[numpy.ndarray, numpy.int32]: ... | ||
def return_dtype() -> numpy.dtype[typing.Any]: ... |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions
5
.../python-3.12/pybind11-v2.13/numpy-array-wrap-with-annotated/demo/pure_python/__init__.pyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from __future__ import annotations | ||
|
||
from . import classes, functions, functions_3_8_plus, functions_3_9_plus, values | ||
|
||
__all__ = ["classes", "functions", "functions_3_8_plus", "functions_3_9_plus", "values"] |
File renamed without changes.
31 changes: 31 additions & 0 deletions
31
...python-3.12/pybind11-v2.13/numpy-array-wrap-with-annotated/demo/pure_python/functions.pyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
from __future__ import annotations | ||
|
||
import sys as sys | ||
import typing as typing | ||
|
||
from demo.pure_python.functions_3_8_plus import args_mix | ||
from demo.pure_python.functions_3_9_plus import generic_alias_annotation | ||
|
||
__all__ = [ | ||
"accept_frozenset", | ||
"args_mix", | ||
"builtin_function_as_default_arg", | ||
"function_as_default_arg", | ||
"generic_alias_annotation", | ||
"lambda_as_default_arg", | ||
"search", | ||
"static_method_as_default_arg", | ||
"sys", | ||
"typing", | ||
] | ||
|
||
class _Dummy: | ||
@staticmethod | ||
def foo(): ... | ||
|
||
def accept_frozenset(arg: frozenset[int | float]) -> int | None: ... | ||
def builtin_function_as_default_arg(func: type(len) = len): ... | ||
def function_as_default_arg(func: type(search) = search): ... | ||
def lambda_as_default_arg(callback=...): ... | ||
def search(a: int, b: list[int]) -> int: ... | ||
def static_method_as_default_arg(callback=_Dummy.foo): ... |
File renamed without changes.
5 changes: 5 additions & 0 deletions
5
...12/pybind11-v2.13/numpy-array-wrap-with-annotated/demo/pure_python/functions_3_9_plus.pyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from __future__ import annotations | ||
|
||
__all__ = ["generic_alias_annotation"] | ||
|
||
def generic_alias_annotation(a: list[tuple[int]], b: dict[int, str]) -> list[float]: ... |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
26 changes: 0 additions & 26 deletions
26
...stubs/python-3.8/pybind11-master/numpy-array-wrap-with-annotated/demo/_bindings/numpy.pyi
This file was deleted.
Oops, something went wrong.
41 changes: 41 additions & 0 deletions
41
tests/stubs/python-3.8/pybind11-v2.13/numpy-array-wrap-with-annotated/demo/__init__.pyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
from __future__ import annotations | ||
|
||
from demo._bindings import ( | ||
aliases, | ||
classes, | ||
eigen, | ||
enum, | ||
flawed_bindings, | ||
functions, | ||
issues, | ||
methods, | ||
numpy, | ||
properties, | ||
stl, | ||
stl_bind, | ||
typing, | ||
values, | ||
) | ||
|
||
from . import _bindings, core, pure_python | ||
|
||
__all__ = [ | ||
"aliases", | ||
"classes", | ||
"core", | ||
"eigen", | ||
"enum", | ||
"flawed_bindings", | ||
"functions", | ||
"issues", | ||
"methods", | ||
"numpy", | ||
"properties", | ||
"pure_python", | ||
"stl", | ||
"stl_bind", | ||
"typing", | ||
"values", | ||
"version", | ||
] | ||
version: str = "0.0.0" |
35 changes: 35 additions & 0 deletions
35
...ubs/python-3.8/pybind11-v2.13/numpy-array-wrap-with-annotated/demo/_bindings/__init__.pyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
from __future__ import annotations | ||
|
||
from . import ( | ||
aliases, | ||
classes, | ||
eigen, | ||
enum, | ||
flawed_bindings, | ||
functions, | ||
issues, | ||
methods, | ||
numpy, | ||
properties, | ||
stl, | ||
stl_bind, | ||
typing, | ||
values, | ||
) | ||
|
||
__all__ = [ | ||
"aliases", | ||
"classes", | ||
"eigen", | ||
"enum", | ||
"flawed_bindings", | ||
"functions", | ||
"issues", | ||
"methods", | ||
"numpy", | ||
"properties", | ||
"stl", | ||
"stl_bind", | ||
"typing", | ||
"values", | ||
] |
Oops, something went wrong.