Nora Trapp
aa1f0ab39c
Fix precommit script for when PRs remove files
2020-04-03 11:17:01 -07:00
Ehren Kret
82f3f3ed01
Change shebang line for pre and post commit scripts
...
These scripts are written for Python 2.7 and fail if python executable
points to Python 3.
2020-04-01 18:09:57 -07:00
Nora Trapp
f05f2ff85f
Add lint action
2020-03-14 15:40:02 -07:00
Nora Trapp
778885db9f
Fix precommit, git-clang-format doesn't like spaces between extension type
2019-11-15 14:17:46 -08:00
Michael Kirk
583077d94b
skip formatting proto files
2019-11-06 21:24:53 -07:00
Nora Trapp
03f3f4aa9a
Don't disable universal support in precommitt
2019-10-23 13:46:31 -07:00
Nora Trapp
06f66b7cb5
Disable universal device support in precommit check.
2019-10-03 11:54:00 -07:00
Disconnect3d
0fc0377d0c
Fix check_diff_for_keywords in scripts
...
Fixes the `objc_keywords` list in `check_diff_for_keywords`.
This list stores strings and Python automagically concatenates strings if there is no comma between them.
As a result the first two items of the list: `OWSAbstractMethod\(` and `OWSAssert\(` were wrongly conacatenated into `"OWSAbstractMethod\(OWSAssert\("`.
This has been found with LGTM 0ddaedbfad/files/Scripts/precommit.py (x84c147336239d4b6) :1
2019-09-15 09:40:02 -07:00
Michael Kirk
5236fba691
keyword checks
2018-09-17 09:50:22 -06:00
Michael Kirk
551102210e
include C assert variants in keywords check
2018-09-17 09:36:44 -06:00
Michael Kirk
d534651ac4
check keywords in diff
2018-09-07 11:02:56 -06:00
Matthew Chen
49b0ea993d
Dedupe forward class declarations.
2018-07-12 15:35:42 -04:00
Michael Kirk
17ed0f6100
dedupe git hooks
...
// FREEBIE
2018-03-02 17:57:58 -05:00