1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-01-31 00:19:00 +03:00
Octobot/.github
Octol1ttle 27b8f15e3b
Force maximum Cognitive Complexity via InspectCode (#60)
This PR uses a new feature of the InspectCode action: extensions. By
adding the `Cognitive Complexity` extension, InspectCode can provide
warnings and force the contributors to follow standards regarding
complex methods. This functionality was previously provided by
CodeFactor, but it is no longer used. Here's the full changelog of this
PR:
- Allowed Actions to run on push for any branch, not just `master`;
- Added `Cognitive Complexity` plugin for InspectCode;
- Significantly reduced complexity of KickCommandGroup, MuteCommandGroup
and GuildUpdateService

---------

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-07-21 08:54:52 +05:00
..
ISSUE_TEMPLATE Switch to Remora.Discord (#41) 2023-07-09 16:32:14 +03:00
workflows Force maximum Cognitive Complexity via InspectCode (#60) 2023-07-21 08:54:52 +05:00
CODEOWNERS Tidy up project structure, fix bug with edit logging (#47) 2023-07-09 22:36:44 +05:00
dependabot.yml Do not assign Octol1ttle for Dependabot PRs (#59) 2023-07-20 23:20:25 +03:00
labels.yml Increase thresholds for size labels (#52) 2023-07-19 21:00:11 +00:00