Skip to content

Commit

Permalink
installed pre-commit hooks check-yaml, end-of-file-fixer and trainlin…
Browse files Browse the repository at this point in the history
…g whitespaces
  • Loading branch information
photoniker committed May 26, 2023
1 parent 5741197 commit 7fa1899
Show file tree
Hide file tree
Showing 1,121 changed files with 15,608 additions and 15,819 deletions.
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ AlignOperands: false
AlignTrailingComments: false
BinPackArguments: false
BinPackParameters: false
BraceWrapping:
BraceWrapping:
AfterNamespace: false
BreakConstructorInitializersBeforeComma: true
BreakConstructorInitializers: AfterColon
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
Expand Down Expand Up @@ -377,4 +377,4 @@ Makefile*
/.project

.clang-tid
*.bak
*.bak
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
4 changes: 2 additions & 2 deletions AddInManager/0.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

// This file is a dirty litte trick for the automoccer of qt - we MUST include our python stuff before ANY
// qt stuff so we make this class which is first in the file list and first in alphabet and gets included
// in the automoccer cpp file first
// in the automoccer cpp file first

#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION

Expand Down Expand Up @@ -44,4 +44,4 @@ class qDummyClass : public QObject
private:
};

#endif // A_H
#endif // A_H
10 changes: 5 additions & 5 deletions AddInManager/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
#
# You should have received a copy of the GNU Library General Public License
# along with itom. If not, see <http://www.gnu.org/licenses/>.

cmake_minimum_required(VERSION 3.1)

set(target_name addinmanager)
project(${target_name})
# include commonly used itom CMake macros (internal can only be used within the core projects)
project(${target_name})

# include commonly used itom CMake macros (internal can only be used within the core projects)
include("../cmake/ItomBuildMacros.cmake")
include("../cmake/ItomBuildMacrosInternal.cmake")

Expand All @@ -49,7 +49,7 @@ if(BUILD_WITH_PCL)
add_definitions(-DUSEPCL)
endif()

include_directories(
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${Qt5Widgets_INCLUDE_DIRS}
Expand Down
Loading

0 comments on commit 7fa1899

Please sign in to comment.