38 Commits (master)

Author SHA1 Message Date
Tim Ohliger ee04df0d02
Updated STL casters and py::buffer to use collections.abc (#5566) 3 months ago
Michael Carlstrom dfe7e65b45
feat(types): Use `typing.SupportsInt` and `typing.SupportsFloat` and fix other typing based bugs. (#5540) 4 months ago
gentlegiantJGC 6d98d4d8d4
Add type hints for args and kwargs (#5357) 8 months ago
Michael Šimáček c4a05f9344
Add support for GraalPy (#5380) 9 months ago
gentlegiantJGC 7e418f4924
Allow subclasses of py::args and py::kwargs (#5381) 10 months ago
Ralf W. Grosse-Kunstleve f1a2e03d19
feat: remove Python 3.6 support (#5177) 1 year ago
Henry Schreiner 1a0ff40549
tests: avoid immortal objects in tests (#5150) 1 year ago
Henry Schreiner ae6432b817
fix: Python 3.13t with GIL (#5139) 1 year ago
Ralf W. Grosse-Kunstleve d06d53694a
Fix small bug introduced with PR #4735 (#4845) 2 years ago
Sergei Izmailov c9149d995c
fix: Use lowercase builtin collection names (#4833) 2 years ago
Jean Elsner b9359ceadb
Remove newlines from docstring signature (#4735) 2 years ago
Henry Schreiner 438034c5b8
chore: move to Ruff and add rules (#4483) 2 years ago
Ralf W. Grosse-Kunstleve 6493f496e3
Python 2 removal part 1: tests (C++ code is intentionally ~untouched) (#3688) 3 years ago
Jason Rhinelander 673b4be3d7
Fix py::kw_only when used before the first arg of a method (#3488) 4 years ago
Jason Rhinelander e7c9753f1d
feat: allow kw-only args after a py::args (#3402) 4 years ago
Aaron Gokaslan 9df2f1ff13
maint(precommit): Apply isort (#3195) 4 years ago
Henry Schreiner c50f90eca6
style: use Black everywhere (#2594) 5 years ago
Henry Schreiner 0dbda6e80b
feat: py::pos_only (#2459) 5 years ago
Henry Schreiner 4d9024ec71
tests: cleanup and ci hardening (#2397) 5 years ago
Eric Cousineau ebdd0d368c
tests: Consolidate version (2 vs. 3) and platform (CPython vs. PyPy) checks (#2376) 5 years ago
Boris Staletic 2819ce64a4
Avoid attr("__repr__") in initialize_generic (#2317) 5 years ago
Henry Schreiner ef057f12b6 test: support pypy2 7.3 5 years ago
Henry Schreiner d8c7ee00a6
ci: GHA basic format & pre-commit (#2309) 5 years ago
Sebastian Koslowski a86ac538f5 rename args_kw_only to kwonly 5 years ago
Jason Rhinelander be0d804523 Support keyword-only arguments 5 years ago
Antony Lee 0826b3c106 Add spaces around "=" in signature repr. 8 years ago
Jason Rhinelander b48d4a01ca Added py::args ref counting tests 8 years ago
Jason Rhinelander 391c75447d Update all remaining tests to new test styles 8 years ago
Dean Moldovan d47febcb17 Minor pytest maintenance (#702) 8 years ago
Jason Rhinelander df244884c0 Skip .match on older pytest (pre-3.0) 8 years ago
Jason Rhinelander a04410bd29 Workaround style check false positive 8 years ago
Jason Rhinelander 231e167854 Show kwargs in failed method invocation 8 years ago
Jason Rhinelander 2686da8350 Add support for positional args with args/kwargs 9 years ago
Wenzel Jakob e99ebaedcf nicer error message for invalid function arguments 9 years ago
Dean Moldovan 16db1bfbd7 Remove superseded handle::operator() overloads 9 years ago
Dean Moldovan 99dbdc16e5 Simplify more tests by replacing capture with assert 9 years ago
Dean Moldovan 665e8804f3 Simplify tests by replacing output capture with asserts where possible 9 years ago
Dean Moldovan a0c1ccf0a9 Port tests to pytest 9 years ago