-
Notifications
You must be signed in to change notification settings - Fork 765
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1149 from borglab/update-wrap
- Loading branch information
Showing
212 changed files
with
15,799 additions
and
5,593 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
# See all possible options and defaults with: | ||
# clang-format --style=llvm --dump-config | ||
BasedOnStyle: LLVM | ||
AccessModifierOffset: -4 | ||
AlwaysBreakTemplateDeclarations: Yes | ||
BinPackArguments: false | ||
BinPackParameters: false | ||
BreakBeforeBinaryOperators: All | ||
BreakConstructorInitializers: BeforeColon | ||
ColumnLimit: 99 | ||
IndentCaseLabels: true | ||
IndentPPDirectives: AfterHash | ||
IndentWidth: 4 | ||
Language: Cpp | ||
SpaceAfterCStyleCast: true | ||
Standard: Cpp11 | ||
TabWidth: 4 | ||
... |
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,66 @@ | ||
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-suspicious-call-argument, | ||
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: '*' |
Validating CODEOWNERS rules …
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version: 2 | ||
updates: | ||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
ignore: | ||
# Official actions have moving tags like v1 | ||
# that are used, so they don't need updates here | ||
- dependency-name: "actions/checkout" | ||
- dependency-name: "actions/setup-python" | ||
- dependency-name: "actions/cache" | ||
- dependency-name: "actions/upload-artifact" | ||
- dependency-name: "actions/download-artifact" | ||
- dependency-name: "actions/labeler" |
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,8 @@ | ||
docs: | ||
- any: | ||
- 'docs/**/*.rst' | ||
- '!docs/changelog.rst' | ||
- '!docs/upgrade.rst' | ||
|
||
ci: | ||
- '.github/workflows/*.yml' |
Oops, something went wrong.