Commit Graph

40 Commits

Author SHA1 Message Date
David Bradford 74ea6aa4df SERVER-47796: Ensure linters run against enterprise modules 2020-05-06 13:12:44 +00:00
Mark Benvenuto e5b1e4b391 SERVER-45594 clang_format.py should probe Program Files for clang-format.exe 2020-01-16 21:37:46 +00:00
Kaloian Manassiev bdddc5f3a6 SERVER-45283 Make clang_format.py search the user's PATH variable for clang-format 2019-12-21 07:54:29 +00:00
Mathew Robinson a15f14d7e8 SERVER-43062 Verify files exist when running format-my 2019-09-09 19:36:05 +00:00
ADAM David Alan Martin a810b1a727
SERVER-42498 Fix output messages from `clang_format.py`.
They should refer to the correct binary name.
2019-08-14 20:26:27 -04:00
ADAM David Alan Martin 1e46b50490
SERVER-41771 Use `clang-format-7.0.1` in our clang-format helper script
Update our clang-format config file to reflect the newer syntax.
2019-07-27 11:02:21 -04:00
Mark Benvenuto 286c031264 SERVER-40559 Python linters do not run after upgrade to Python 3 2019-04-16 14:33:43 -04:00
Mathew Robinson f4feba485b SERVER-40542 Remove references to pip2 2019-04-10 11:42:47 -04:00
Mathew Robinson 8dd6d47557 SERVER-32295 Support Python 3 2019-04-08 14:08:49 -04:00
Jonathan Abrahams 4dbea5ed56 SERVER-39309 - Fix linter calls to get_merge_base 2019-02-25 13:14:13 -05:00
Jonathan Abrahams 5fbbf8b878 SERVER-39309 Create unit tests for burn_in_tests.py 2019-02-22 10:37:14 -05:00
Mark Benvenuto d179b063b2 SERVER-36193 Add format-my mode to clang_format.py to only format local changes 2018-07-24 14:07:41 -04:00
Jonathan Abrahams c50c68fef1 SERVER-23312 Python linting - Lint using pylint, pydocstyle & mypy 2018-04-05 14:41:58 -04:00
Jonathan Abrahams 36148ad8bb SERVER-23312 Format Python files with yapf 2018-03-26 13:04:25 -04:00
Mark Benvenuto de05b0b6b8 SERVER-22411 Clang-Format 2018-02-27 14:10:06 -05:00
Mark Benvenuto 00ee4f5156 SERVER-28465: Refactor eslint.py and clang_format.py 2017-03-28 11:08:01 -04:00
Mark Benvenuto 7ca96b371e SERVER-27462 Remove Python 2.6 compatibility code from scripts in buildscripts/ directory 2017-03-09 13:47:54 -05:00
Mark Benvenuto 0590b0da70 SERVER-27351 clang_format.py needs to ignore deleted files 2016-12-14 13:33:07 -05:00
Mike Grundy e25b86e561 SERVER-25737 ESLint and clang-format "lint-patch" modes can miss files with uppercase characters 2016-09-19 10:04:57 -04:00
Ramon Fernandez 1653251f73 SERVER-25814 Do not lint the vendored gotools 2016-08-26 16:58:13 -04:00
Ramon Fernandez 2a0e9dbf6e Revert "SERVER-25814 Do not lint the js files in the tools import"
This reverts commit e9ad3d5d40.
2016-08-26 16:58:13 -04:00
Ramon Fernandez e9ad3d5d40 SERVER-25814 Do not lint the js files in the tools import 2016-08-25 19:09:41 -04:00
Matt Cotter 8b66399b85 SERVER-24756 make clang format downloads resistent to http errors 2016-07-22 11:32:57 -04:00
Kaloian Manassiev 3f7dce2ea7 SERVER-24355 Add a clang_format.py missing import 2016-06-09 13:13:04 -04:00
Mark Benvenuto 8e9a032204 SERVER-24355 clang_format leaves temporary files around after a reformat 2016-06-08 18:42:01 -04:00
Mark Benvenuto e0e33aef6d SERVER-24373 Support 64-bit Windows LLVM 2016-06-06 14:53:43 -04:00
Mark Benvenuto b47deb5910 SERVER-23914 Fix reformat-branch and improve message 2016-05-29 20:43:44 -04:00
Mark Benvenuto 59a3973032 SERVER-23914 Implement reformat-branch clang-format command 2016-05-28 17:55:10 -04:00
Mark Benvenuto fea3cf185c SERVER-23339 Update clang_format.py to use clang-format 3.8 2016-05-28 17:55:10 -04:00
Mark Benvenuto 264133830e SERVER-19986 clang_format.py format fix 2016-04-04 16:26:32 -04:00
Mark Benvenuto 0c28732443 SERVER-19986 clang_format.py lint-patch 2016-04-04 16:17:55 -04:00
Mark Benvenuto 462451181d SERVER-19986 clang_format.py format fix 2016-04-04 16:01:15 -04:00
Mark Benvenuto 2700f16594 SERVER-19986 clang_format.py lint should enumerate all files for scons integration 2016-04-04 15:07:28 -04:00
Jonathan Abrahams 98150643ca SERVER-22339 Integrate JavaScript formatting into scons "lint" target 2016-03-03 09:12:39 -05:00
Valentin Kuznetsov 5492a19aaf SERVER-22135 Take python from environment rather system default path
Signed-off-by: Ramon Fernandez <ramon@mongodb.com>

Closes #1056
2016-01-15 17:03:22 -05:00
Mark Benvenuto f5b27f93ab SERVER-21981 clang_format.py should not touch files uncessarily 2015-12-23 13:36:10 -05:00
Benety Goh 9bb1572fe0 SERVER-20253 clang_format.py should accept --clang-format before command 2015-09-03 09:58:31 -04:00
Martin Bligh 0a9a207be3 SERVER-19070: Fix various clang-format issues 2015-06-26 08:25:48 -04:00
Jonathan Reams 31403b950c SERVER-19070 Make clang format script use python tarfile 2015-06-23 17:19:16 -04:00
Mark Benvenuto 01965cf52b SERVER-18575: clang_format.py 2015-06-20 10:55:52 -04:00