Commit Graph

5 Commits

Author SHA1 Message Date
d8adb1af87
refactor(all): using namespace considered harmful
* 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 2021-10-30 20:39:23 +02:00
519919326e
cppcheck: specify necessary parameters
* 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 2021-10-24 23:45:28 +02:00