Skip to content

Commit

Permalink
Merge pull request #215 from Quansight-Labs/clang-format-2
Browse files Browse the repository at this point in the history
CI: Fix clang-format check
  • Loading branch information
hameerabbasi committed Oct 25, 2019
2 parents e19d05e + 46966e5 commit 6314af8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions ci/azure-run-clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ steps:
displayName: Install clang-format
- bash: |
clang-format-8 -i uarray/_uarray_dispatch.cxx
DIFF=$(git diff)
if [ $DIFF != "" ]; then
if [ "$(git diff)" != "" ]; then
echo "Detected formatting errors, suggested changes below:"
git diff
exit 1
Expand Down
3 changes: 1 addition & 2 deletions uarray/_uarray_dispatch.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,7 @@ struct SkipBackendContext {

context_helper<py_ref> ctx_;

static void dealloc(SkipBackendContext * self)
{
static void dealloc(SkipBackendContext * self) {
self->~SkipBackendContext();
Py_TYPE(self)->tp_free(self);
}
Expand Down

0 comments on commit 6314af8

Please sign in to comment.