blender/tools/check_source
Campbell Barton 29c7be1516 Tools: fixes and updates to duplicate header checker
Since moving to "tools/" the suggested command would modify
headers *outside* Blender's source directory (now prevented).

Since "#pragma once" was used - the duplicate header check
needed to be moved from the end to the start of the header.

Other changes:

- Add type hints.
- Exclude headers intended to be included multiple times.
- Use `argparse` for argument parsing.
- Use str.format.
2024-04-29 09:39:43 +10:00
..
check_cmake_consistency_config.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
check_cmake_consistency.py Cleanup: spelling in comments 2023-09-05 11:04:27 +10:00
check_deprecated.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
check_descriptions.py Cleanup: remove "-noaudio" argument in background mode 2024-02-14 00:13:38 +11:00
check_header_duplicate.py Tools: fixes and updates to duplicate header checker 2024-04-29 09:39:43 +10:00
check_licenses.py check_licenses: exclude ./lib/ from source code checks 2024-03-19 14:10:27 +11:00
check_mypy_config.py Tools: fixes and updates to duplicate header checker 2024-04-29 09:39:43 +10:00
check_mypy.py Cleanup: remove unused imports 2024-01-08 11:40:53 +11:00
check_spelling_config.py Cleanup: spelling in comments 2024-04-29 09:09:44 +10:00
check_spelling.py Cleanup: replace %-formatting with str.format in tools/ & release/ 2024-04-27 16:06:53 +10:00
check_unused_defines.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00