Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Commit

Permalink
Merge pull request #54 from xainag/fix-clang
Browse files Browse the repository at this point in the history
Fix clang invocation
  • Loading branch information
Taner Topal committed Sep 11, 2019
2 parents 59679e1 + 6f04f76 commit 3777989
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .clang-format

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ cd $DIR/../

isort --indent=4 -rc setup.py conftest.py xain
black --exclude "xain/grpc/.*_pb2.*" setup.py conftest.py xain
clang-format -i -style=Google protobuf/xain/grpc/*.proto
clang-format -style="{Language: Proto, BasedOnStyle: Google}" -i protobuf/xain/grpc/*.proto
2 changes: 1 addition & 1 deletion scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ isort --check-only --indent=4 -rc setup.py conftest.py xain && echo "===> isort
black --check --exclude "xain/grpc/.*_pb2.*" setup.py conftest.py xain && echo "===> black says: well done <===" &&

# check format of proto files
clang-format -style=Google protobuf/xain/grpc/*.proto | diff protobuf/xain/grpc/*.proto - && echo "===> clang-format says: well done <===" &&
clang-format -style="{Language: Proto, BasedOnStyle: Google}" protobuf/xain/grpc/*.proto | diff protobuf/xain/grpc/*.proto - && echo "===> clang-format says: well done <===" &&

# lint
pylint --rcfile=pylint.ini xain && echo "===> pylint says: well done <===" &&
Expand Down

0 comments on commit 3777989

Please sign in to comment.