Age | Commit message (Collapse) | Author |
|
* chore(Apps/CodeStyle): add a new check for if statements
* update
* Update spell_priest.cpp
* Update codestyle.py
|
|
* Init.
* Reword.
* Update codestyle script.
Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
* Add gameobject type ID check, reorder checks.
* Add helper/codestyle check for unit type.
* `IsUnit()` -> `IsCreature()`
* Add `IsUnit()` method.
* Use type mask.
https: //github.com/TrinityCore/TrinityCore/commit/cc71da35b5dc74abf71f8691161525a23d870bb5
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>
Co-Authored-By: Ovahlord <18347559+Ovahlord@users.noreply.github.com>
* Replace instances of `isType` with `IsUnit`.
---------
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
Co-authored-by: Ovahlord <18347559+Ovahlord@users.noreply.github.com>
|
|
(#19841)
* chore(Apps/Codestyle): add new codestyle checks for pointers and range loops
* revert a typo
|
|
|
|
* initial version
* port most current checks
* allow to specify for each checks the exclude files
* Update _ci-codestyle.py
* fix trailing whitespace check and the error_handler logic
* optimize the script to parse all files only one time
* restore the error handling after that all checks are passed
* fix double blank lines at the end of the file
* improve outputs and the codestyle
* .
* update github workflow to the new script
*drop the old ci-codestyle
*move and rename the python script
* use getcwd instead abspath to define src_directory where the script is launch
* test for github workflow
* few cleanup
* fix the logic with the result output
* remove GetTypeId from the output result
* restore GetTypeId() check
* fix reviews
* remove GetTypeId check for gameobjects
*not currently fixed in the core
* fix type hint for file parameters
* remove the test file
|