Eduardo Almeida
0aa5108cd9
check-style: Add check for SPDX license
2024-10-07 16:50:51 +01:00
Eduardo Almeida
82f41683ea
check-style: Add support for more format guards
2024-10-07 16:37:30 +01:00
Eduardo Almeida
d30ed6517f
check-style: Group check variables and args in dictionaries
2024-10-07 16:37:26 +01:00
Eduardo Almeida
e66a68416b
check-style: Fix documentation
2024-10-07 16:37:18 +01:00
Eduardo Almeida
1c4357b7c8
check-style: Move clang-format check to last
...
Some checks overlap with clang-format. Manual checks fix the code faster than running clang-format twice (one for checking if the file has issues and another for fixing it).
2024-09-18 11:42:35 +00:00
André Apitzsch
8bc94a1cc3
Use SPDX license identifiers
2024-09-06 19:32:31 +00:00
Eduardo Almeida
eb40c0018d
check-style: Improve error messages
2024-08-29 14:48:06 +00:00
Eduardo Almeida
736cd6a066
check-style: Fix clang-format version check
2024-08-29 14:48:06 +00:00
Eduardo Almeida
70eda40b47
check-style: Add notes on how to use the script to fix formatting
2024-07-01 15:21:38 +01:00
Eduardo Almeida
0bd18b88e7
check-style: Extend list of files analyzed by check-style-clang-format.py
2024-04-26 14:46:05 +00:00
Eduardo Almeida
eaeb53d0b6
check-style: Add note with instructions to fix files
2024-03-01 12:41:00 +00:00
Gabriel Ferreira
8f6a3413a4
style: apply black and isort
2023-11-20 21:30:01 -03:00
Gabriel Ferreira
af98671fbe
style: apply style changes in preparation for black and isort
2023-11-20 21:30:01 -03:00
Eduardo Almeida
63372addd8
check-style: Add clang-format-17 to list of supported versions
2023-10-31 17:59:16 +00:00
Eduardo Almeida
8268dd5c34
check-style: Add .git/ and remove .vscode/ from list of directories to skip
2023-10-06 18:55:26 +00:00
Eduardo Almeida
706f6771a9
check-style: Refactor manual checks to reduce duplicate code
2023-10-06 18:55:26 +00:00
Eduardo Almeida
738729e0ab
check-style: Fix documentation and add usage example for modified files
2023-10-06 15:05:39 +00:00
Eduardo Almeida
c4c866aa97
check-style: Allow passing multiple paths as argument
2023-10-03 12:42:32 +01:00
Eduardo Almeida
1e939ef891
check-style: Add check for #include headers from same module with "ns3/" prefix
2023-09-17 15:59:43 +01:00
Eduardo Almeida
5e5f3746db
check-style: Fix trailing whitespace column indicator in verbose mode
2023-09-07 01:36:02 +01:00
Eduardo Almeida
2f62a518a9
check-style: Sort list of files to be analyzed
2023-09-07 01:36:02 +01:00
Eduardo Almeida
c4aa94ee5f
check-style: Move exit codes to main function
2023-09-07 01:36:02 +01:00
Eduardo Almeida
99877b5cc5
check-style: Refactor check-style-clang-format.py to reduce duplicate code
2023-09-07 01:36:02 +01:00
Eduardo Almeida
e502847caf
utils, doc: Add --verbose option to check-style-clang-format.py
2023-04-24 13:19:49 +00:00
Eduardo Almeida
9b907a343b
utils: Improve output of check-style-clang-format.py
2023-04-24 13:19:49 +00:00
Eduardo Almeida
808d3671a6
utils: Remove unneeded sort() methods
2023-04-24 13:19:49 +00:00
Eduardo Almeida
c3428cff1c
utils: Improve formatting of check-style-clang-format.py
2023-04-24 13:19:49 +00:00
Eduardo Almeida
01a2d7786a
utils: Add list of files to skip in check-style-clang-format.py
2022-10-24 20:23:32 +00:00
Eduardo Almeida
d825794fe8
utils, doc: Update check-style-clang-format.py to respect clang-format guards in tabs checking
2022-10-24 21:21:39 +01:00
Eduardo Almeida
b07e1d7019
utils: Adjust formatting of check-style-clang-format.py
2022-10-24 21:21:39 +01:00
Eduardo Almeida
c115a77dd7
utils: Add ".cmake" to the list of files to be checked by "check-style-clang-format.py"
2022-10-15 21:13:54 +01:00
Eduardo Almeida
ab47be98a2
utils: Fix tabs checking
2022-10-15 21:13:54 +01:00
Eduardo Almeida
050bf556e6
utils: Fix check-style-clang-format.py formatting
2022-10-15 21:13:50 +01:00
Eduardo Almeida
05e28c23ee
utils: Find default clang-format in check-style-clang-format.py
2022-10-09 18:56:11 +00:00
Eduardo Almeida
facde1d432
utils: Find latest clang-format versions first in check-style-clang-format.py
2022-10-09 18:55:46 +00:00
Eduardo Almeida
abe2b2a388
utils: Add new "check-style-clang-format.py"
...
- Remove deprecated scripts "trim-trailing-whitespace.py" and "check-style.py".
- Remove deprecated "utils.h".
2022-10-06 19:49:37 +00:00