pybind11/tests
Ralf W. Grosse-Kunstleve e96221beff
Final manual curation in preparation for global clang-formating (#3712)
* Manual line breaks to pre-empt undesired `clang-format`ing.

Informed by work under https://github.com/pybind/pybind11/pull/3683:

60b7eb410f

59572e6559

* Manual curation of clang-format diffs involving source code comments.

Very labor-intensive and dull.

* Pulling .clang-format change from @henryiii's 9057962d40

* Adding commonly used .clang-format `CommentPragmas:`

* Ensure short lambdas are allowed

Co-authored-by: Aaron Gokaslan <skylion.aaron@gmail.com>
2022-02-10 11:42:03 -08:00
..
extra_python_package fix: the CMake config in Python package had a hard coded path (#3144) 2021-07-27 17:23:52 -04:00
extra_setuptools fix(setup =_helpers): don't add -g0 CFLAGS sets -g (#3436) 2021-11-08 16:27:32 -05:00
test_cmake_build Add missing clang-tidy fixes (#3715) 2022-02-10 09:23:15 -08:00
test_embed clang-tidy readability-qualified-auto (#3702) 2022-02-09 06:24:57 -08:00
CMakeLists.txt A way to register additional test targets and support .py only tests. (#3590) 2022-01-11 17:31:19 -08:00
conftest.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
constructor_stats.h Final manual curation in preparation for global clang-formating (#3712) 2022-02-10 11:42:03 -08:00
cross_module_gil_utils.cpp Make sure detail::get_internals acquires the GIL before making Python calls. (#1836) 2019-07-15 16:47:02 +02:00
env.py env: Add surrogate for pytest.deprecated_call for ptyest<3.9 (#2923) 2021-04-02 14:34:09 -04:00
local_bindings.h CodeHealth: Enabling clang-tidy google-explicit-constructor (#3250) 2021-09-08 18:53:38 -07:00
object.h Adding .clang-tidy readability-braces-around-statements option. 2022-02-08 13:02:20 -08:00
pybind11_cross_module_tests.cpp Adding .clang-tidy readability-braces-around-statements option. 2022-02-08 13:02:20 -08:00
pybind11_tests.cpp Adding .clang-tidy readability-braces-around-statements option. 2022-02-08 13:02:20 -08:00
pybind11_tests.h Final manual curation in preparation for global clang-formating (#3712) 2022-02-10 11:42:03 -08:00
pytest.ini Make sure all warnings in pytest get turned into errors (#2838) 2021-02-01 14:52:20 +01:00
requirements.txt ci: support development releases of Python (#3419) 2021-11-17 09:44:19 -05:00
test_async.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
test_async.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_buffers.cpp chore(clang-tidy): Add clang-tidy rules: prefer-member-initializer and optin.performance.Padding (#3716) 2022-02-10 09:45:46 -08:00
test_buffers.py Fixing stict vs strict typo. (#3493) 2021-11-22 01:33:03 -08:00
test_builtin_casters.cpp clang-tidy readability-qualified-auto (#3702) 2022-02-09 06:24:57 -08:00
test_builtin_casters.py Expand std::string_view support to str, bytes, memoryview (#3521) 2021-12-03 13:20:32 -04:00
test_call_policies.cpp clang-tidy readability-qualified-auto (#3702) 2022-02-09 06:24:57 -08:00
test_call_policies.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_callbacks.cpp clang-tidy readability-qualified-auto (#3702) 2022-02-09 06:24:57 -08:00
test_callbacks.py maint: Add additional linter-related pre-commit hooks (#3337) 2021-10-08 08:38:04 -04:00
test_chrono.cpp fix: allow assignment of time points of resolutions other than that of a system clock (#2481) 2020-09-13 10:24:00 -04:00
test_chrono.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_class.cpp Final manual curation in preparation for global clang-formating (#3712) 2022-02-10 11:42:03 -08:00
test_class.py Enable defining custom __new__ (#3265) 2021-09-20 10:42:14 -04:00
test_const_name.cpp Adding dedicated test_const_name. (#3578) 2021-12-29 12:54:25 -08:00
test_const_name.py Adding dedicated test_const_name. (#3578) 2021-12-29 12:54:25 -08:00
test_constants_and_functions.cpp Removing __INTEL_COMPILER section from pragma block at the top of pybind11.h (#3135) 2021-07-27 15:33:31 -07:00
test_constants_and_functions.py Plug leaking function_records in cpp_function initialization in case of exceptions (found by Valgrind in #2746) (#2756) 2021-01-14 19:34:32 +01:00
test_copy_move.cpp chore(clang-tidy): Add clang-tidy rules: prefer-member-initializer and optin.performance.Padding (#3716) 2022-02-10 09:45:46 -08:00
test_copy_move.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_custom_type_casters.cpp Adding dedicated test_const_name. (#3578) 2021-12-29 12:54:25 -08:00
test_custom_type_casters.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_custom_type_setup.cpp Add custom_type_setup attribute (#3287) 2021-09-24 12:08:22 -07:00
test_custom_type_setup.py Add custom_type_setup attribute (#3287) 2021-09-24 12:08:22 -07:00
test_docstring_options.cpp fix: do not set docstring for function when empty (#2745) 2020-12-27 22:56:30 -05:00
test_docstring_options.py fix: do not set docstring for function when empty (#2745) 2020-12-27 22:56:30 -05:00
test_eigen.cpp Adding .clang-tidy readability-braces-around-statements option. 2022-02-08 13:02:20 -08:00
test_eigen.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_enum.cpp Fix enum value's __int__ returning non-int when underlying type is bool or of char type (#1334) 2021-08-26 14:34:24 -07:00
test_enum.py maint: Add additional linter-related pre-commit hooks (#3337) 2021-10-08 08:38:04 -04:00
test_eval_call.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_eval.cpp Adding .clang-tidy readability-braces-around-statements option. 2022-02-08 13:02:20 -08:00
test_eval.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_exceptions.cpp Adding .clang-tidy readability-braces-around-statements option. 2022-02-08 13:02:20 -08:00
test_exceptions.h fix: Mingw64 corrected and add a CI job to test it (#3132) 2021-07-30 13:48:41 -04:00
test_exceptions.py Add support for nested C++11 exceptions (#3608) 2022-01-14 14:22:47 -05:00
test_factory_constructors.cpp chore(clang-tidy): Add clang-tidy rules: prefer-member-initializer and optin.performance.Padding (#3716) 2022-02-10 09:45:46 -08:00
test_factory_constructors.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_gil_scoped.cpp fix(clang-tidy): performance fixes applied in tests and CI (#3051) 2021-06-22 12:11:54 -04:00
test_gil_scoped.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_iostream.cpp Adding .clang-tidy readability-braces-around-statements option. 2022-02-08 13:02:20 -08:00
test_iostream.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_kwargs_and_defaults.cpp Final manual curation in preparation for global clang-formating (#3712) 2022-02-10 11:42:03 -08:00
test_kwargs_and_defaults.py Fix py::kw_only when used before the first arg of a method (#3488) 2021-11-20 16:01:57 -08:00
test_local_bindings.cpp Adding .clang-tidy readability-braces-around-statements option. 2022-02-08 13:02:20 -08:00
test_local_bindings.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_methods_and_attributes.cpp fix: add missing std::forward calls (#3443) 2021-11-07 18:35:25 -05:00
test_methods_and_attributes.py fix: add missing std::forward calls (#3443) 2021-11-07 18:35:25 -05:00
test_modules.cpp Final manual curation in preparation for global clang-formating (#3712) 2022-02-10 11:42:03 -08:00
test_modules.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_multiple_inheritance.cpp Fix caster optimization regression introduced in #3650 (#3659) 2022-01-31 12:19:48 -05:00
test_multiple_inheritance.py Fix caster optimization regression introduced in #3650 (#3659) 2022-01-31 12:19:48 -05:00
test_numpy_array.cpp Final manual curation in preparation for global clang-formating (#3712) 2022-02-10 11:42:03 -08:00
test_numpy_array.py view for numpy arrays (#987) 2021-08-26 14:11:01 -07:00
test_numpy_dtypes.cpp Final manual curation in preparation for global clang-formating (#3712) 2022-02-10 11:42:03 -08:00
test_numpy_dtypes.py test: Strip whitespace when comparing numpy dtypes for 1.22 compat (#3682) 2022-02-03 12:29:46 -05:00
test_numpy_vectorize.cpp CodeHealth: Enabling clang-tidy google-explicit-constructor (#3250) 2021-09-08 18:53:38 -07:00
test_numpy_vectorize.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_opaque_types.cpp Adding .clang-tidy readability-braces-around-statements option. 2022-02-08 13:02:20 -08:00
test_opaque_types.py maint(precommit): Apply isort (#3195) 2021-08-13 12:37:05 -04:00
test_operator_overloading.cpp Add additional info to TypeError when C++->Python casting fails (#3605) 2022-01-10 21:18:00 -05:00
test_operator_overloading.py Add additional info to TypeError when C++->Python casting fails (#3605) 2022-01-10 21:18:00 -05:00
test_pickling.cpp Adding .clang-tidy readability-braces-around-statements option. 2022-02-08 13:02:20 -08:00
test_pickling.py maint: Add additional linter-related pre-commit hooks (#3337) 2021-10-08 08:38:04 -04:00
test_pytypes.cpp clang-tidy readability-qualified-auto (#3702) 2022-02-09 06:24:57 -08:00
test_pytypes.py Render py::bool_ and py::float_ without _ in docstrings (#3622) 2022-01-16 07:05:46 -08:00
test_sequences_and_iterators.cpp chore(clang-tidy): Add clang-tidy rules: prefer-member-initializer and optin.performance.Padding (#3716) 2022-02-10 09:45:46 -08:00
test_sequences_and_iterators.py Fix make_key_iterator/make_value_iterator for prvalue iterators (#3348) 2021-10-11 08:35:39 -07:00
test_smart_ptr.cpp chore(clang-tidy): Add clang-tidy rules: prefer-member-initializer and optin.performance.Padding (#3716) 2022-02-10 09:45:46 -08:00
test_smart_ptr.py Fix various minor memory leaks in the tests (found by Valgrind in #2746) (#2758) 2021-01-01 17:05:22 +01:00
test_stl_binders.cpp clang-tidy readability-qualified-auto (#3702) 2022-02-09 06:24:57 -08:00
test_stl_binders.py maint: Add additional linter-related pre-commit hooks (#3337) 2021-10-08 08:38:04 -04:00
test_stl.cpp Manually applying two clang-format changes that need fix-ups for clang-tidy. (#3705) 2022-02-09 06:32:41 -08:00
test_stl.py fix: the types for return_value_policy_override in optional_caster (#3376) 2021-10-25 19:04:45 -07:00
test_tagbased_polymorphic.cpp Adding .clang-tidy readability-braces-around-statements option. 2022-02-08 13:02:20 -08:00
test_tagbased_polymorphic.py style: use Black everywhere (#2594) 2020-10-16 16:38:13 -04:00
test_thread.cpp Fix thread safety for pybind11 loader_life_support (#3237) 2021-09-10 12:29:21 -04:00
test_thread.py Fix thread safety for pybind11 loader_life_support (#3237) 2021-09-10 12:29:21 -04:00
test_union.cpp Fix assertion failure for unions (#1685) (#1709) 2019-06-11 23:28:58 +02:00
test_union.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_virtual_functions.cpp Final manual curation in preparation for global clang-formating (#3712) 2022-02-10 11:42:03 -08:00
test_virtual_functions.py [master] Wrong caching of overrides (#3465) 2021-11-15 13:36:41 -05:00
valgrind-numpy-scipy.supp docs: fix various typos (#3075) 2021-07-04 19:58:35 -04:00
valgrind-python.supp chore: get PyPy 3.7 wheels using NumPy 1.20 (#2837) 2021-01-31 17:29:09 -05:00