-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat refactor api #73
Feat refactor api #73
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
There were too many comments to post at once. Showing the first 25 out of 479. Check the log or trigger a new build to see more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments, change the StrCat calls like I explained on Slack, and its good for me
bindings/python/src/inspector/colocation/edgedcurve_colocation.h
Outdated
Show resolved
Hide resolved
"single line is invalid." | ||
}; | ||
ProblemInspectionResult< index_t > | ||
unique_vertices_linked_to_a_line_but_not_linked_to_a_corner{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unique_vertices_linked_to_a_line_but_not_linked_to_a_corner{ | |
unique_vertices_linked_to_several_lines_but_not_linked_to_a_corner{ |
src/geode/inspector/criterion/colocation/unique_vertices_colocation.cpp
Outdated
Show resolved
Hide resolved
src/geode/inspector/criterion/colocation/unique_vertices_colocation.cpp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
There were too many comments to post at once. Showing the first 25 out of 446. Check the log or trigger a new build to see more.
@@ -37,7 +37,7 @@ namespace geode | |||
using EdgedCurveColocation = EdgedCurveColocation< dimension >; | |||
|
|||
const auto name = | |||
"EdgedCurveColocation" + std::to_string( dimension ) + "D"; | |||
absl::StrCat( "EdgedCurveColocation", dimension, "D" ); | |||
pybind11::class_< EdgedCurveColocation >( module, name.c_str() ) | |||
.def( pybind11::init< const EdgedCurve& >() ) | |||
.def( pybind11::init< const EdgedCurve&, bool >() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: expected '(' for function-style cast or type construction [clang-diagnostic-error]
.def( pybind11::init< const EdgedCurve&, bool >() )
^
@@ -37,7 +37,7 @@ | |||
using EdgedCurveColocation = EdgedCurveColocation< dimension >; | |||
|
|||
const auto name = | |||
"EdgedCurveColocation" + std::to_string( dimension ) + "D"; | |||
absl::StrCat( "EdgedCurveColocation", dimension, "D" ); | |||
pybind11::class_< EdgedCurveColocation >( module, name.c_str() ) | |||
.def( pybind11::init< const EdgedCurve& >() ) | |||
.def( pybind11::init< const EdgedCurve&, bool >() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: expected expression [clang-diagnostic-error]
.def( pybind11::init< const EdgedCurve&, bool >() )
^
@@ -34,7 +34,7 @@ namespace geode | |||
using PointSet = PointSet< dimension >; | |||
using PointSetColocation = PointSetColocation< dimension >; | |||
const auto name = | |||
"PointSetColocation" + std::to_string( dimension ) + "D"; | |||
"PointSetColocation" + absl::StrCat( dimension ) + "D"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: no header providing "absl::StrCat" is directly included [misc-include-cleaner]
bindings/python/src/inspector/colocation/pointset_colocation.h:22:
- #include <string>
+ #include <absl/strings/str_cat.h>
+ #include <string>
@@ -34,7 +34,7 @@ | |||
using PointSet = PointSet< dimension >; | |||
using PointSetColocation = PointSetColocation< dimension >; | |||
const auto name = | |||
"PointSetColocation" + std::to_string( dimension ) + "D"; | |||
"PointSetColocation" + absl::StrCat( dimension ) + "D"; | |||
pybind11::class_< PointSetColocation >( module, name.c_str() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: use of undeclared identifier 'pybind11' [clang-diagnostic-error]
pybind11::class_< PointSetColocation >( module, name.c_str() )
^
@@ -34,7 +34,7 @@ | |||
using PointSet = PointSet< dimension >; | |||
using PointSetColocation = PointSetColocation< dimension >; | |||
const auto name = | |||
"PointSetColocation" + std::to_string( dimension ) + "D"; | |||
"PointSetColocation" + absl::StrCat( dimension ) + "D"; | |||
pybind11::class_< PointSetColocation >( module, name.c_str() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: unexpected type name 'PointSetColocation': expected expression [clang-diagnostic-error]
pybind11::class_< PointSetColocation >( module, name.c_str() )
^
@@ -34,7 +34,7 @@ | |||
using SurfaceMesh = SurfaceMesh< dimension >; | |||
using SurfaceMeshColocation = SurfaceMeshColocation< dimension >; | |||
const auto name = | |||
"SurfaceMeshColocation" + std::to_string( dimension ) + "D"; | |||
absl::StrCat( "SurfaceMeshColocation", dimension, "D" ); | |||
pybind11::class_< SurfaceMeshColocation >( module, name.c_str() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: unexpected type name 'SurfaceMeshColocation': expected expression [clang-diagnostic-error]
pybind11::class_< SurfaceMeshColocation >( module, name.c_str() )
^
@@ -34,7 +34,7 @@ | |||
using SurfaceMesh = SurfaceMesh< dimension >; | |||
using SurfaceMeshColocation = SurfaceMeshColocation< dimension >; | |||
const auto name = | |||
"SurfaceMeshColocation" + std::to_string( dimension ) + "D"; | |||
absl::StrCat( "SurfaceMeshColocation", dimension, "D" ); | |||
pybind11::class_< SurfaceMeshColocation >( module, name.c_str() ) | |||
.def( pybind11::init< const SurfaceMesh& >() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: use of undeclared identifier 'pybind11' [clang-diagnostic-error]
.def( pybind11::init< const SurfaceMesh& >() )
^
@@ -34,7 +34,7 @@ | |||
using SurfaceMesh = SurfaceMesh< dimension >; | |||
using SurfaceMeshColocation = SurfaceMeshColocation< dimension >; | |||
const auto name = | |||
"SurfaceMeshColocation" + std::to_string( dimension ) + "D"; | |||
absl::StrCat( "SurfaceMeshColocation", dimension, "D" ); | |||
pybind11::class_< SurfaceMeshColocation >( module, name.c_str() ) | |||
.def( pybind11::init< const SurfaceMesh& >() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: expected expression [clang-diagnostic-error]
.def( pybind11::init< const SurfaceMesh& >() )
^
@@ -34,7 +34,7 @@ | |||
using SurfaceMesh = SurfaceMesh< dimension >; | |||
using SurfaceMeshColocation = SurfaceMeshColocation< dimension >; | |||
const auto name = | |||
"SurfaceMeshColocation" + std::to_string( dimension ) + "D"; | |||
absl::StrCat( "SurfaceMeshColocation", dimension, "D" ); | |||
pybind11::class_< SurfaceMeshColocation >( module, name.c_str() ) | |||
.def( pybind11::init< const SurfaceMesh& >() ) | |||
.def( pybind11::init< const SurfaceMesh&, bool >() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: use of undeclared identifier 'pybind11' [clang-diagnostic-error]
.def( pybind11::init< const SurfaceMesh&, bool >() )
^
@@ -34,7 +34,7 @@ | |||
using SurfaceMesh = SurfaceMesh< dimension >; | |||
using SurfaceMeshColocation = SurfaceMeshColocation< dimension >; | |||
const auto name = | |||
"SurfaceMeshColocation" + std::to_string( dimension ) + "D"; | |||
absl::StrCat( "SurfaceMeshColocation", dimension, "D" ); | |||
pybind11::class_< SurfaceMeshColocation >( module, name.c_str() ) | |||
.def( pybind11::init< const SurfaceMesh& >() ) | |||
.def( pybind11::init< const SurfaceMesh&, bool >() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: expected expression [clang-diagnostic-error]
.def( pybind11::init< const SurfaceMesh&, bool >() )
^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
There were too many comments to post at once. Showing the first 25 out of 421. Check the log or trigger a new build to see more.
@@ -34,7 +34,7 @@ namespace geode | |||
using SurfaceMesh = SurfaceMesh< dimension >; | |||
using SurfaceMeshColocation = SurfaceMeshColocation< dimension >; | |||
const auto name = | |||
"SurfaceMeshColocation" + std::to_string( dimension ) + "D"; | |||
absl::StrCat( "SurfaceMeshColocation", dimension, "D" ); | |||
pybind11::class_< SurfaceMeshColocation >( module, name.c_str() ) | |||
.def( pybind11::init< const SurfaceMesh& >() ) | |||
.def( pybind11::init< const SurfaceMesh&, bool >() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: expected '(' for function-style cast or type construction [clang-diagnostic-error]
.def( pybind11::init< const SurfaceMesh&, bool >() )
^
@@ -34,7 +34,7 @@ | |||
using SurfaceMesh = SurfaceMesh< dimension >; | |||
using SurfaceMeshColocation = SurfaceMeshColocation< dimension >; | |||
const auto name = | |||
"SurfaceMeshColocation" + std::to_string( dimension ) + "D"; | |||
absl::StrCat( "SurfaceMeshColocation", dimension, "D" ); | |||
pybind11::class_< SurfaceMeshColocation >( module, name.c_str() ) | |||
.def( pybind11::init< const SurfaceMesh& >() ) | |||
.def( pybind11::init< const SurfaceMesh&, bool >() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: expected expression [clang-diagnostic-error]
.def( pybind11::init< const SurfaceMesh&, bool >() )
^
@@ -34,7 +34,7 @@ namespace geode | |||
using EdgedCurve = EdgedCurve< dimension >; | |||
using EdgedCurveDegeneration = EdgedCurveDegeneration< dimension >; | |||
const auto name = | |||
"EdgedCurveDegeneration" + std::to_string( dimension ) + "D"; | |||
absl::StrCat( "EdgedCurveDegeneration", dimension, "D" ); | |||
pybind11::class_< EdgedCurveDegeneration >( module, name.c_str() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: use of undeclared identifier 'pybind11' [clang-diagnostic-error]
pybind11::class_< EdgedCurveDegeneration >( module, name.c_str() )
^
@@ -34,7 +34,7 @@ | |||
using EdgedCurve = EdgedCurve< dimension >; | |||
using EdgedCurveDegeneration = EdgedCurveDegeneration< dimension >; | |||
const auto name = | |||
"EdgedCurveDegeneration" + std::to_string( dimension ) + "D"; | |||
absl::StrCat( "EdgedCurveDegeneration", dimension, "D" ); | |||
pybind11::class_< EdgedCurveDegeneration >( module, name.c_str() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: unexpected type name 'EdgedCurveDegeneration': expected expression [clang-diagnostic-error]
pybind11::class_< EdgedCurveDegeneration >( module, name.c_str() )
^
@@ -34,7 +34,7 @@ | |||
using EdgedCurve = EdgedCurve< dimension >; | |||
using EdgedCurveDegeneration = EdgedCurveDegeneration< dimension >; | |||
const auto name = | |||
"EdgedCurveDegeneration" + std::to_string( dimension ) + "D"; | |||
absl::StrCat( "EdgedCurveDegeneration", dimension, "D" ); | |||
pybind11::class_< EdgedCurveDegeneration >( module, name.c_str() ) | |||
.def( pybind11::init< const EdgedCurve& >() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: use of undeclared identifier 'pybind11' [clang-diagnostic-error]
.def( pybind11::init< const EdgedCurve& >() )
^
@@ -34,7 +34,7 @@ | |||
using SurfaceMesh = SurfaceMesh< dimension >; | |||
using SurfaceMeshDegeneration = SurfaceMeshDegeneration< dimension >; | |||
const auto name = | |||
"SurfaceMeshDegeneration" + std::to_string( dimension ) + "D"; | |||
absl::StrCat( "SurfaceMeshDegeneration", dimension, +"D" ); | |||
pybind11::class_< SurfaceMeshDegeneration >( module, name.c_str() ) | |||
.def( pybind11::init< const SurfaceMesh& >() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: use of undeclared identifier 'pybind11' [clang-diagnostic-error]
.def( pybind11::init< const SurfaceMesh& >() )
^
@@ -34,7 +34,7 @@ | |||
using SurfaceMesh = SurfaceMesh< dimension >; | |||
using SurfaceMeshDegeneration = SurfaceMeshDegeneration< dimension >; | |||
const auto name = | |||
"SurfaceMeshDegeneration" + std::to_string( dimension ) + "D"; | |||
absl::StrCat( "SurfaceMeshDegeneration", dimension, +"D" ); | |||
pybind11::class_< SurfaceMeshDegeneration >( module, name.c_str() ) | |||
.def( pybind11::init< const SurfaceMesh& >() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: expected expression [clang-diagnostic-error]
.def( pybind11::init< const SurfaceMesh& >() )
^
@@ -34,7 +34,7 @@ | |||
using SurfaceMesh = SurfaceMesh< dimension >; | |||
using SurfaceMeshDegeneration = SurfaceMeshDegeneration< dimension >; | |||
const auto name = | |||
"SurfaceMeshDegeneration" + std::to_string( dimension ) + "D"; | |||
absl::StrCat( "SurfaceMeshDegeneration", dimension, +"D" ); | |||
pybind11::class_< SurfaceMeshDegeneration >( module, name.c_str() ) | |||
.def( pybind11::init< const SurfaceMesh& >() ) | |||
.def( pybind11::init< const SurfaceMesh&, bool >() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: use of undeclared identifier 'pybind11' [clang-diagnostic-error]
.def( pybind11::init< const SurfaceMesh&, bool >() )
^
@@ -34,7 +34,7 @@ | |||
using SurfaceMesh = SurfaceMesh< dimension >; | |||
using SurfaceMeshDegeneration = SurfaceMeshDegeneration< dimension >; | |||
const auto name = | |||
"SurfaceMeshDegeneration" + std::to_string( dimension ) + "D"; | |||
absl::StrCat( "SurfaceMeshDegeneration", dimension, +"D" ); | |||
pybind11::class_< SurfaceMeshDegeneration >( module, name.c_str() ) | |||
.def( pybind11::init< const SurfaceMesh& >() ) | |||
.def( pybind11::init< const SurfaceMesh&, bool >() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: expected expression [clang-diagnostic-error]
.def( pybind11::init< const SurfaceMesh&, bool >() )
^
@@ -34,7 +34,7 @@ | |||
using SurfaceMesh = SurfaceMesh< dimension >; | |||
using SurfaceMeshDegeneration = SurfaceMeshDegeneration< dimension >; | |||
const auto name = | |||
"SurfaceMeshDegeneration" + std::to_string( dimension ) + "D"; | |||
absl::StrCat( "SurfaceMeshDegeneration", dimension, +"D" ); | |||
pybind11::class_< SurfaceMeshDegeneration >( module, name.c_str() ) | |||
.def( pybind11::init< const SurfaceMesh& >() ) | |||
.def( pybind11::init< const SurfaceMesh&, bool >() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: expected '(' for function-style cast or type construction [clang-diagnostic-error]
.def( pybind11::init< const SurfaceMesh&, bool >() )
^
6766a42
into
refactor_all_inspector_api
🎉 This PR is included in version 5.0.0-rc.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 5.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
No description provided.