Commit Graph

154 Commits

Author SHA1 Message Date
e5ecf6b6f3 check_spelling: support ignoring hyphenated code-words
Words found in the code which were hyphenated were not being ignored,
as is done by non-hyphenated words.
2022-07-11 10:21:39 +10:00
e866b96c67 check_spelling_c: update dictionary 2022-07-11 10:21:21 +10:00
545f305efb check_licenses: exclude intern/{libmv/opensubdiv}
These directories need manual updating, the licenses in existing files
have licenses that are valid but show many warnings.

Ignore these directories for now as it gets in the way of newly
introduced warnings.
2022-07-05 13:48:31 +10:00
01b4c0e4a1 check_spelling_c: update dictionary 2022-06-03 13:51:20 +10:00
405373b86f Cleanup: remove <pep8 compliant> comment
This is no longer necessary, see: T98554.
2022-06-03 12:09:40 +10:00
0cd0d5c9ae Cleanup: check_spelling_c_config, also minor spelling corrections 2022-05-11 21:01:02 +10:00
5bdde48aae check_spelling_c: update dictionary 2022-04-28 15:17:12 +10:00
284f78b77d check_spelling_c: update dictionary 2022-04-26 15:06:40 +10:00
2412dbf190 check_spelling_c: update dictionary 2022-04-20 15:26:45 +10:00
6e88fc5a17 Cleanup: run autopep8 2022-04-20 15:18:29 +10:00
f4af5ed5a7 check_spelling: restore block check
This should eventually be moved into a separate checking tool.
2022-04-11 11:50:57 +10:00
4c1e01e3e3 check_spelling_c: update dictionary 2022-04-06 07:32:52 +10:00
c540dcee55 check_spelling: ignore doxy command arguments 2022-03-18 10:39:49 +11:00
e71e414bd3 check_licenses: Ignore "intern/itasc/kdl" 2022-03-18 10:39:48 +11:00
680a49c67b Cleanup: remove skip-comment
This was used for GPL headers which now use the SPDX convention.
2022-03-18 10:39:46 +11:00
cb37b41302 Cleanup: unused import, copyright identifier & spelling 2022-03-18 10:39:45 +11:00
c4e77f7655 check_spelling_c: update dictionary 2022-03-18 10:39:44 +11:00
77e6bca19f Add check_cmake_consistency: to check_mypy 2022-03-18 10:39:42 +11:00
861c84e263 CMake: move checker from Blender repo
Move this file from build_files/cmake/cmake_consistency_check.py
2022-03-18 10:39:41 +11:00
f468b49c12 Cleanup: unused variable 2022-02-23 00:04:15 +11:00
0e5282522a check_deprecated: move from Blender's tests/ repo
Also made some minor improvements.
2022-02-23 00:02:17 +11:00
b977ecf42f check_licenses: Support excluding individual files 2022-02-22 14:15:00 +11:00
94420e1669 check_spelling_c: update dictionary 2022-02-21 17:16:38 +11:00
7f8d2b5ca1 check_mypy_config: add bl_keymap_validate 2022-02-21 17:14:30 +11:00
15eb2b38b3 check_licenses: add percentage progress to summary 2022-02-14 14:05:02 +11:00
3fc56d7bc2 check_licenses: report licensing statistics 2022-02-14 13:35:15 +11:00
1b60750788 check_licenses: improve check for year ranges 2022-02-14 13:12:42 +11:00
3d2e6d208e Cleanup: remove unused functions for check_licenses 2022-02-14 12:43:39 +11:00
ec5923f6dc check_licenses: remove cycles exclusion as it now uses SPDX 2022-02-14 12:42:18 +11:00
09be991323 check_licenses: Correct presets directory 2022-02-11 16:57:50 +11:00
692e233292 File headers: use SPDX license identifiers
See T95597
2022-02-11 16:14:41 +11:00
cb88626158 Write files with SPDX headers 2022-02-11 14:18:56 +11:00
6765a49bdc Add utilities to check licenses follow SPDX 2022-02-11 14:16:46 +11:00
ed92cb4ae2 check_spelling_c: update dictionary 2022-01-31 10:48:06 +11:00
dc7c95f309 Cleanup: check_spelling_c_config move each word onto it's own line
Simplifies adding new words and highlights differences
between similar words.

Also update dictionary.
2022-01-09 15:50:34 +11:00
b22d19e47f check_spelling: accept opening brackets before quoted text
This allows (`interpret as code`) to be ignored as if there
were no surrounding brackets.
2021-11-08 16:46:48 +11:00
cc857792a4 check_spelling_c: update dictionary 2021-11-03 11:37:06 +11:00
69917110ab check_spelling: add words 2021-10-19 11:01:47 +11:00
dc3f3f112c check_spelling: ignore common suffix's when hyphenated
Allow informal convention of adding -ish or -ness onto the end of any word.
This is done a handful of times and seems reasonable to support.
2021-10-19 11:01:29 +11:00
5a6ef5e0f2 check_spelling: support ignoring files 2021-10-18 12:19:11 +11:00
d4c9da6453 check_spelling: add doxy tparam (template parameter) 2021-10-18 12:17:06 +11:00
d9bda1cb41 check_spelling: don't modify the users personal dictionary 2021-10-18 12:16:13 +11:00
5061594ee6 check_spelling_c: update dictionary 2021-10-12 11:45:51 +11:00
9e6cb388af check_spelling_c: update dictionary 2021-10-06 13:39:57 +11:00
9dbf3ba99e Cleanup: pep8 2021-10-06 13:18:44 +11:00
937a66e76a check_spelling: various improvements
- Use the custom dictionary when checking hyphenated words.
- Add the custom dictionary to the existing dictionary so
  suggestions will include words from the custom dictionary.
- Refactor spell checking functions into wrapper calls.

Removes over 200 false positives.
2021-10-06 13:16:40 +11:00
f4a13d25a5 check_spelling_c: update dictionary 2021-10-06 09:31:51 +11:00
a9dff9b8f2 check_spelling_c: update dictionary 2021-10-05 12:17:02 +11:00
c10724ff0a check_spelling: support '@' in tag contents
Now `TODO(@name)` ignores the spelling of `name`.
2021-10-05 12:14:45 +11:00
3f12d0ae60 check_spelling_c: add words 2021-09-23 15:13:12 +10:00