forked from themoos/python-moos
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pybind11: upgrade to pybind11 v2.8.0 (#12)
- Loading branch information
Showing
175 changed files
with
7,598 additions
and
3,248 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,65 @@ | ||
FormatStyle: file | ||
|
||
Checks: ' | ||
*bugprone*, | ||
cppcoreguidelines-init-variables, | ||
cppcoreguidelines-slicing, | ||
clang-analyzer-optin.cplusplus.VirtualCall, | ||
google-explicit-constructor, | ||
llvm-namespace-comment, | ||
modernize-use-override, | ||
readability-container-size-empty, | ||
modernize-use-using, | ||
modernize-use-equals-default, | ||
misc-misplaced-const, | ||
misc-non-copyable-objects, | ||
misc-static-assert, | ||
misc-throw-by-value-catch-by-reference, | ||
misc-uniqueptr-reset-release, | ||
misc-unused-parameters, | ||
modernize-avoid-bind, | ||
modernize-make-shared, | ||
modernize-redundant-void-arg, | ||
modernize-replace-auto-ptr, | ||
modernize-replace-disallow-copy-and-assign-macro, | ||
modernize-replace-random-shuffle, | ||
modernize-shrink-to-fit, | ||
modernize-use-auto, | ||
modernize-use-bool-literals, | ||
modernize-use-equals-default, | ||
modernize-use-equals-delete, | ||
modernize-use-default-member-init, | ||
modernize-use-noexcept, | ||
modernize-use-emplace, | ||
modernize-use-override, | ||
modernize-use-using, | ||
*performance*, | ||
readability-avoid-const-params-in-decls, | ||
readability-const-return-type, | ||
readability-container-size-empty, | ||
readability-delete-null-pointer, | ||
readability-else-after-return, | ||
readability-implicit-bool-conversion, | ||
readability-make-member-function-const, | ||
readability-misplaced-array-index, | ||
readability-non-const-parameter, | ||
readability-redundant-function-ptr-dereference, | ||
readability-redundant-smartptr-get, | ||
readability-redundant-string-cstr, | ||
readability-simplify-subscript-expr, | ||
readability-static-accessed-through-instance, | ||
readability-static-definition-in-anonymous-namespace, | ||
readability-string-compare, | ||
readability-uniqueptr-delete-release, | ||
-bugprone-exception-escape, | ||
-bugprone-reserved-identifier, | ||
-bugprone-unused-raii, | ||
' | ||
|
||
CheckOptions: | ||
- key: performance-for-range-copy.WarnOnAllAutoCopies | ||
value: true | ||
- key: performance-unnecessary-value-param.AllowedTypes | ||
value: 'exception_ptr$;' | ||
- key: readability-implicit-bool-conversion.AllowPointerConditions | ||
value: true | ||
|
||
HeaderFilterRegex: 'pybind11/.*h' | ||
|
||
WarningsAsErrors: '*' |
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,9 @@ | ||
*.cmake @henryiii | ||
CMakeLists.txt @henryiii | ||
*.yml @henryiii | ||
*.yaml @henryiii | ||
/tools/ @henryiii | ||
/pybind11/ @henryiii | ||
noxfile.py @henryiii | ||
.clang-format @henryiii | ||
.clang-tidy @henryiii |
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 was deleted.
Oops, something went wrong.
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,45 @@ | ||
name: Bug Report | ||
description: File an issue about a bug | ||
title: "[BUG]: " | ||
labels: [triage] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Maintainers will only make a best effort to triage PRs. Please do your best to make the issue as easy to act on as possible, and only open if clearly a problem with pybind11 (ask first if unsure). | ||
- type: checkboxes | ||
id: steps | ||
attributes: | ||
label: Required prerequisites | ||
description: Make sure you've completed the following steps before submitting your issue -- thank you! | ||
options: | ||
- label: Make sure you've read the [documentation](https://pybind11.readthedocs.io). Your issue may be addressed there. | ||
required: true | ||
- label: Search the [issue tracker](https://github.com/pybind/pybind11/issues) and [Discussions](https:/pybind/pybind11/discussions) to verify that this hasn't already been reported. +1 or comment there if it has. | ||
required: true | ||
- label: Consider asking first in the [Gitter chat room](https://gitter.im/pybind/Lobby) or in a [Discussion](https:/pybind/pybind11/discussions/new). | ||
required: false | ||
|
||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Problem description | ||
placeholder: >- | ||
Provide a short description, state the expected behavior and what | ||
actually happens. Include relevant information like what version of | ||
pybind11 you are using, what system you are on, and any useful commands | ||
/ output. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: code | ||
attributes: | ||
label: Reproducible example code | ||
placeholder: >- | ||
The code should be minimal, have no external dependencies, isolate the | ||
function(s) that cause breakage. Submit matched and complete C++ and | ||
Python snippets that can be easily compiled and run to diagnose the | ||
issue. If possible, make a PR with a new, failing test to give us a | ||
starting point to work on! | ||
render: text |
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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Ask a question | ||
url: https://github.com/pybind/pybind11/discussions/new | ||
about: Please ask and answer questions here, or propose new ideas. | ||
- name: Gitter room | ||
url: https://gitter.im/pybind/Lobby | ||
about: A room for discussing pybind11 with an active community |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.