Commit Graph

8 Commits

Author SHA1 Message Date
7f05984946
integrate clang-tidy into cmake
All checks were successful
continuous-integration/drone/push Build is passing
* consolidate everything with the makefile, the "tidy" target now just
  sets the env var that is checked for in CMakeLists
* rm clang-tidy from pre-commit as it's run as part of the "test"
  makefile target later in the file anyway
2021-12-05 05:13:07 +01:00
cf0e548315
pre-commit: exclude the lib folder
[skip ci]
2021-12-05 03:10:50 +01:00
72bb378709
pre-commit: add 'make san' step
All checks were successful
continuous-integration/drone/push Build is passing
making sure to build with sanitize flags before committing
2021-12-03 20:34:45 +01:00
d8adb1af87
refactor(all): using namespace considered harmful
All checks were successful
continuous-integration/drone/push Build is passing
* project-wide refactor to accomodate removal of "using namespace xyz"
  to stop polluting top-level namespace with "std" as recommended by the
  Google C++ style guide.
* use a pre-commit hook to enforce this

ref:
https://google.github.io/styleguide/cppguide.html#Namespaces
2021-11-13 22:13:50 +01:00
f4463d803e
chore(pre-commit): add check-hooks-apply hook
[skip ci]
2021-10-30 20:57:28 +02:00
ec0691fba1
makefile,pre-commit: add clang-tidy
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-30 20:39:23 +02:00
519919326e
cppcheck: specify necessary parameters
All checks were successful
continuous-integration/drone/push Build is passing
* that is, both in ci, pre-commit config and in the makefile
* makefile and ci args are a little more strict than the pre-commit ones
* use globs of the file extensions we're after
* add verbosity
2021-10-30 20:05:28 +02:00
b0d4cb2468
add .pre-commit-config.yaml
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-24 23:45:28 +02:00