From 4756b09a7144efda219dfb85b588d24a7c3f4abb Mon Sep 17 00:00:00 2001 From: Alpaca-zip <84959376+Alpaca-zip@users.noreply.github.com> Date: Tue, 12 Sep 2023 16:06:16 +0900 Subject: [PATCH 1/2] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5d31452..439f66b 100644 --- a/README.md +++ b/README.md @@ -44,9 +44,8 @@ $ sudo apt-get install clang clang-tidy ``` **2. Format with Clang-Tidy** ``` -$ catkin build --cmake-args -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -$ cp ~//build//compile_commands.json / -$ roscd && clang-tidy ./src/.cpp -p=./ -fix +$ cd && catkin build --cmake-args -DCMAKE_EXPORT_COMPILE_COMMANDS=1 +$ clang-tidy -p build// /src/ -fix ``` Recommended tool : [catkin_tidy](https://github.com/nyxrobotics/catkin_tidy) ### Black From 64ae9b3356ad8f40ebcbb050b0bf4c30f72f7bb5 Mon Sep 17 00:00:00 2001 From: Alpaca-zip <84959376+Alpaca-zip@users.noreply.github.com> Date: Tue, 12 Sep 2023 16:07:26 +0900 Subject: [PATCH 2/2] Update .gitignore --- .gitignore | 3 --- 1 file changed, 3 deletions(-) diff --git a/.gitignore b/.gitignore index f443eff..b8ed918 100644 --- a/.gitignore +++ b/.gitignore @@ -52,6 +52,3 @@ CATKIN_IGNORE # vscode .vscode - -# compiler logs -compile_commands.json