jarbin-c-coding-style 2.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. jarbin_c_coding_style-2.0.0/.gitignore +26 -0
  2. jarbin_c_coding_style-2.0.0/CHANGELOG.md +151 -0
  3. jarbin_c_coding_style-2.0.0/LICENSE +674 -0
  4. jarbin_c_coding_style-2.0.0/PKG-INFO +150 -0
  5. jarbin_c_coding_style-2.0.0/README.md +121 -0
  6. jarbin_c_coding_style-2.0.0/VERSION +1 -0
  7. jarbin_c_coding_style-2.0.0/devs/docs/README.md +55 -0
  8. jarbin_c_coding_style-2.0.0/devs/docs/sources/README.md +140 -0
  9. jarbin_c_coding_style-2.0.0/devs/docs/sources/analysis.md +162 -0
  10. jarbin_c_coding_style-2.0.0/devs/docs/sources/cli.md +146 -0
  11. jarbin_c_coding_style-2.0.0/devs/docs/sources/configs.md +152 -0
  12. jarbin_c_coding_style-2.0.0/devs/docs/sources/diagnostics.md +105 -0
  13. jarbin_c_coding_style-2.0.0/devs/docs/sources/engine.md +186 -0
  14. jarbin_c_coding_style-2.0.0/devs/docs/sources/errors.md +85 -0
  15. jarbin_c_coding_style-2.0.0/devs/docs/sources/fixers.md +183 -0
  16. jarbin_c_coding_style-2.0.0/devs/docs/sources/integrations.md +159 -0
  17. jarbin_c_coding_style-2.0.0/devs/docs/sources/outputs.md +168 -0
  18. jarbin_c_coding_style-2.0.0/devs/docs/sources/rules.md +190 -0
  19. jarbin_c_coding_style-2.0.0/devs/docs/sources/selftest.md +90 -0
  20. jarbin_c_coding_style-2.0.0/devs/docs/sources/subcommands.md +215 -0
  21. jarbin_c_coding_style-2.0.0/devs/docs/sources/utils.md +120 -0
  22. jarbin_c_coding_style-2.0.0/docs/README.md +98 -0
  23. jarbin_c_coding_style-2.0.0/docs/getting-started/README.md +18 -0
  24. jarbin_c_coding_style-2.0.0/docs/reference/rules/README.md +91 -0
  25. jarbin_c_coding_style-2.0.0/pyproject.toml +57 -0
  26. jarbin_c_coding_style-2.0.0/sources/__init__.py +0 -0
  27. jarbin_c_coding_style-2.0.0/sources/__main__.py +6 -0
  28. jarbin_c_coding_style-2.0.0/sources/analysis/__init__.py +0 -0
  29. jarbin_c_coding_style-2.0.0/sources/analysis/directives.py +258 -0
  30. jarbin_c_coding_style-2.0.0/sources/analysis/lexer.py +288 -0
  31. jarbin_c_coding_style-2.0.0/sources/analysis/parser.py +1754 -0
  32. jarbin_c_coding_style-2.0.0/sources/analysis/project.py +286 -0
  33. jarbin_c_coding_style-2.0.0/sources/analysis/source.py +326 -0
  34. jarbin_c_coding_style-2.0.0/sources/analysis/syntax.py +238 -0
  35. jarbin_c_coding_style-2.0.0/sources/analysis/tokens.py +116 -0
  36. jarbin_c_coding_style-2.0.0/sources/analysis/unit.py +700 -0
  37. jarbin_c_coding_style-2.0.0/sources/application.py +118 -0
  38. jarbin_c_coding_style-2.0.0/sources/build_info.json +6 -0
  39. jarbin_c_coding_style-2.0.0/sources/cli/__init__.py +0 -0
  40. jarbin_c_coding_style-2.0.0/sources/cli/arguments.py +507 -0
  41. jarbin_c_coding_style-2.0.0/sources/cli/completion.py +610 -0
  42. jarbin_c_coding_style-2.0.0/sources/cli/context.py +258 -0
  43. jarbin_c_coding_style-2.0.0/sources/cli/converters.py +204 -0
  44. jarbin_c_coding_style-2.0.0/sources/cli/help.py +162 -0
  45. jarbin_c_coding_style-2.0.0/sources/cli/parser.py +659 -0
  46. jarbin_c_coding_style-2.0.0/sources/configs/__init__.py +0 -0
  47. jarbin_c_coding_style-2.0.0/sources/configs/editor.py +207 -0
  48. jarbin_c_coding_style-2.0.0/sources/configs/ini.py +327 -0
  49. jarbin_c_coding_style-2.0.0/sources/configs/project.py +735 -0
  50. jarbin_c_coding_style-2.0.0/sources/configs/schema/__init__.py +0 -0
  51. jarbin_c_coding_style-2.0.0/sources/configs/schema/project.py +68 -0
  52. jarbin_c_coding_style-2.0.0/sources/constants.py +801 -0
  53. jarbin_c_coding_style-2.0.0/sources/diagnostics/__init__.py +0 -0
  54. jarbin_c_coding_style-2.0.0/sources/diagnostics/fingerprint.py +82 -0
  55. jarbin_c_coding_style-2.0.0/sources/diagnostics/model.py +146 -0
  56. jarbin_c_coding_style-2.0.0/sources/engine/__init__.py +0 -0
  57. jarbin_c_coding_style-2.0.0/sources/engine/api.py +355 -0
  58. jarbin_c_coding_style-2.0.0/sources/engine/examples.py +157 -0
  59. jarbin_c_coding_style-2.0.0/sources/engine/outcome.py +114 -0
  60. jarbin_c_coding_style-2.0.0/sources/engine/plan.py +440 -0
  61. jarbin_c_coding_style-2.0.0/sources/engine/runner.py +345 -0
  62. jarbin_c_coding_style-2.0.0/sources/engine/scanner.py +179 -0
  63. jarbin_c_coding_style-2.0.0/sources/enums.py +838 -0
  64. jarbin_c_coding_style-2.0.0/sources/errors/__init__.py +0 -0
  65. jarbin_c_coding_style-2.0.0/sources/errors/exceptions.py +727 -0
  66. jarbin_c_coding_style-2.0.0/sources/fixers/__init__.py +0 -0
  67. jarbin_c_coding_style-2.0.0/sources/fixers/base.py +209 -0
  68. jarbin_c_coding_style-2.0.0/sources/fixers/conflicts.py +129 -0
  69. jarbin_c_coding_style-2.0.0/sources/fixers/diff.py +73 -0
  70. jarbin_c_coding_style-2.0.0/sources/fixers/engine.py +434 -0
  71. jarbin_c_coding_style-2.0.0/sources/fixers/journal.py +290 -0
  72. jarbin_c_coding_style-2.0.0/sources/fixers/kinds.py +30 -0
  73. jarbin_c_coding_style-2.0.0/sources/fixers/layout.py +411 -0
  74. jarbin_c_coding_style-2.0.0/sources/fixers/model.py +151 -0
  75. jarbin_c_coding_style-2.0.0/sources/fixers/registry.py +54 -0
  76. jarbin_c_coding_style-2.0.0/sources/fixers/text.py +353 -0
  77. jarbin_c_coding_style-2.0.0/sources/fixers/verify.py +123 -0
  78. jarbin_c_coding_style-2.0.0/sources/fixers/writer.py +88 -0
  79. jarbin_c_coding_style-2.0.0/sources/integrations/__init__.py +0 -0
  80. jarbin_c_coding_style-2.0.0/sources/integrations/ci/__init__.py +0 -0
  81. jarbin_c_coding_style-2.0.0/sources/integrations/ci/github.py +183 -0
  82. jarbin_c_coding_style-2.0.0/sources/integrations/editors/__init__.py +0 -0
  83. jarbin_c_coding_style-2.0.0/sources/integrations/git/__init__.py +0 -0
  84. jarbin_c_coding_style-2.0.0/sources/integrations/git/repository.py +176 -0
  85. jarbin_c_coding_style-2.0.0/sources/integrations/update/__init__.py +0 -0
  86. jarbin_c_coding_style-2.0.0/sources/integrations/update/installers.py +529 -0
  87. jarbin_c_coding_style-2.0.0/sources/integrations/update/releases.py +397 -0
  88. jarbin_c_coding_style-2.0.0/sources/integrations/update/state.py +143 -0
  89. jarbin_c_coding_style-2.0.0/sources/outputs/__init__.py +0 -0
  90. jarbin_c_coding_style-2.0.0/sources/outputs/github/__init__.py +0 -0
  91. jarbin_c_coding_style-2.0.0/sources/outputs/github/renderer.py +135 -0
  92. jarbin_c_coding_style-2.0.0/sources/outputs/html/__init__.py +0 -0
  93. jarbin_c_coding_style-2.0.0/sources/outputs/html/renderer.py +694 -0
  94. jarbin_c_coding_style-2.0.0/sources/outputs/json/__init__.py +0 -0
  95. jarbin_c_coding_style-2.0.0/sources/outputs/json/renderer.py +154 -0
  96. jarbin_c_coding_style-2.0.0/sources/outputs/json/report.schema.json +121 -0
  97. jarbin_c_coding_style-2.0.0/sources/outputs/junit/__init__.py +0 -0
  98. jarbin_c_coding_style-2.0.0/sources/outputs/junit/renderer.py +151 -0
  99. jarbin_c_coding_style-2.0.0/sources/outputs/registry.py +135 -0
  100. jarbin_c_coding_style-2.0.0/sources/outputs/report.py +224 -0
  101. jarbin_c_coding_style-2.0.0/sources/outputs/sarif/__init__.py +0 -0
  102. jarbin_c_coding_style-2.0.0/sources/outputs/sarif/renderer.py +182 -0
  103. jarbin_c_coding_style-2.0.0/sources/outputs/terminal/__init__.py +0 -0
  104. jarbin_c_coding_style-2.0.0/sources/outputs/terminal/renderer.py +184 -0
  105. jarbin_c_coding_style-2.0.0/sources/outputs/terminal/style.py +159 -0
  106. jarbin_c_coding_style-2.0.0/sources/rules/__init__.py +0 -0
  107. jarbin_c_coding_style-2.0.0/sources/rules/arguments.py +362 -0
  108. jarbin_c_coding_style-2.0.0/sources/rules/catalog.py +227 -0
  109. jarbin_c_coding_style-2.0.0/sources/rules/categories/advanced/constant_pointers.ini +46 -0
  110. jarbin_c_coding_style-2.0.0/sources/rules/categories/advanced/line_break_at_end_of_file.ini +44 -0
  111. jarbin_c_coding_style-2.0.0/sources/rules/categories/advanced/static.ini +65 -0
  112. jarbin_c_coding_style-2.0.0/sources/rules/categories/advanced/typing.ini +47 -0
  113. jarbin_c_coding_style-2.0.0/sources/rules/categories/control_structures/conditional_branching.ini +89 -0
  114. jarbin_c_coding_style-2.0.0/sources/rules/categories/control_structures/goto.ini +45 -0
  115. jarbin_c_coding_style-2.0.0/sources/rules/categories/control_structures/ternary_operators.ini +57 -0
  116. jarbin_c_coding_style-2.0.0/sources/rules/categories/extensions/language_extensions.ini +71 -0
  117. jarbin_c_coding_style-2.0.0/sources/rules/categories/files_organization/contents_of_the_repository.ini +85 -0
  118. jarbin_c_coding_style-2.0.0/sources/rules/categories/files_organization/file_coherence.ini +166 -0
  119. jarbin_c_coding_style-2.0.0/sources/rules/categories/files_organization/file_extension.ini +68 -0
  120. jarbin_c_coding_style-2.0.0/sources/rules/categories/files_organization/fixtures/program +0 -0
  121. jarbin_c_coding_style-2.0.0/sources/rules/categories/files_organization/naming_files_and_folders.ini +74 -0
  122. jarbin_c_coding_style-2.0.0/sources/rules/categories/functions/coherence_of_functions.ini +45 -0
  123. jarbin_c_coding_style-2.0.0/sources/rules/categories/functions/comments_inside_a_function.ini +45 -0
  124. jarbin_c_coding_style-2.0.0/sources/rules/categories/functions/functions_without_parameters.ini +39 -0
  125. jarbin_c_coding_style-2.0.0/sources/rules/categories/functions/naming_functions.ini +79 -0
  126. jarbin_c_coding_style-2.0.0/sources/rules/categories/functions/number_of_columns.ini +61 -0
  127. jarbin_c_coding_style-2.0.0/sources/rules/categories/functions/number_of_lines.ini +70 -0
  128. jarbin_c_coding_style-2.0.0/sources/rules/categories/functions/number_of_parameters.ini +64 -0
  129. jarbin_c_coding_style-2.0.0/sources/rules/categories/functions/structures_as_parameters.ini +44 -0
  130. jarbin_c_coding_style-2.0.0/sources/rules/categories/global_scope/constant_values.ini +49 -0
  131. jarbin_c_coding_style-2.0.0/sources/rules/categories/global_scope/file_header.ini +92 -0
  132. jarbin_c_coding_style-2.0.0/sources/rules/categories/global_scope/global_variables.ini +53 -0
  133. jarbin_c_coding_style-2.0.0/sources/rules/categories/global_scope/include.ini +39 -0
  134. jarbin_c_coding_style-2.0.0/sources/rules/categories/global_scope/indentation_of_preprocessor.ini +62 -0
  135. jarbin_c_coding_style-2.0.0/sources/rules/categories/global_scope/inline_assembly.ini +43 -0
  136. jarbin_c_coding_style-2.0.0/sources/rules/categories/global_scope/leading_trailing_lines.ini +58 -0
  137. jarbin_c_coding_style-2.0.0/sources/rules/categories/global_scope/line_endings.ini +53 -0
  138. jarbin_c_coding_style-2.0.0/sources/rules/categories/global_scope/separation_of_functions.ini +61 -0
  139. jarbin_c_coding_style-2.0.0/sources/rules/categories/global_scope/trailing_spaces.ini +45 -0
  140. jarbin_c_coding_style-2.0.0/sources/rules/categories/header_files/content.ini +104 -0
  141. jarbin_c_coding_style-2.0.0/sources/rules/categories/header_files/include_guard.ini +47 -0
  142. jarbin_c_coding_style-2.0.0/sources/rules/categories/header_files/macros.ini +57 -0
  143. jarbin_c_coding_style-2.0.0/sources/rules/categories/layout_inside_a_function_scope/blank_lines.ini +71 -0
  144. jarbin_c_coding_style-2.0.0/sources/rules/categories/layout_inside_a_function_scope/code_line_content.ini +112 -0
  145. jarbin_c_coding_style-2.0.0/sources/rules/categories/layout_inside_a_function_scope/curly_brackets.ini +94 -0
  146. jarbin_c_coding_style-2.0.0/sources/rules/categories/layout_inside_a_function_scope/indentation.ini +96 -0
  147. jarbin_c_coding_style-2.0.0/sources/rules/categories/layout_inside_a_function_scope/spaces.ini +113 -0
  148. jarbin_c_coding_style-2.0.0/sources/rules/categories/layout_inside_a_function_scope/variable_declarations.ini +65 -0
  149. jarbin_c_coding_style-2.0.0/sources/rules/categories/variables_and_types/naming_identifiers.ini +74 -0
  150. jarbin_c_coding_style-2.0.0/sources/rules/categories/variables_and_types/pointers.ini +67 -0
  151. jarbin_c_coding_style-2.0.0/sources/rules/categories/variables_and_types/structures.ini +47 -0
  152. jarbin_c_coding_style-2.0.0/sources/rules/data/verbs.txt +182 -0
  153. jarbin_c_coding_style-2.0.0/sources/rules/definition.py +430 -0
  154. jarbin_c_coding_style-2.0.0/sources/rules/loader.py +925 -0
  155. jarbin_c_coding_style-2.0.0/sources/rules/paths.py +6 -0
  156. jarbin_c_coding_style-2.0.0/sources/rules/primitives/__init__.py +0 -0
  157. jarbin_c_coding_style-2.0.0/sources/rules/primitives/base.py +297 -0
  158. jarbin_c_coding_style-2.0.0/sources/rules/primitives/braces.py +211 -0
  159. jarbin_c_coding_style-2.0.0/sources/rules/primitives/directives.py +203 -0
  160. jarbin_c_coding_style-2.0.0/sources/rules/primitives/indentation.py +376 -0
  161. jarbin_c_coding_style-2.0.0/sources/rules/primitives/layout.py +199 -0
  162. jarbin_c_coding_style-2.0.0/sources/rules/primitives/naming.py +277 -0
  163. jarbin_c_coding_style-2.0.0/sources/rules/primitives/project.py +62 -0
  164. jarbin_c_coding_style-2.0.0/sources/rules/primitives/registry.py +49 -0
  165. jarbin_c_coding_style-2.0.0/sources/rules/primitives/repository.py +129 -0
  166. jarbin_c_coding_style-2.0.0/sources/rules/primitives/review.py +87 -0
  167. jarbin_c_coding_style-2.0.0/sources/rules/primitives/semantic.py +319 -0
  168. jarbin_c_coding_style-2.0.0/sources/rules/primitives/spacing.py +210 -0
  169. jarbin_c_coding_style-2.0.0/sources/rules/primitives/structure.py +586 -0
  170. jarbin_c_coding_style-2.0.0/sources/rules/primitives/syntax.py +200 -0
  171. jarbin_c_coding_style-2.0.0/sources/rules/primitives/text.py +408 -0
  172. jarbin_c_coding_style-2.0.0/sources/rules/primitives/tokens.py +84 -0
  173. jarbin_c_coding_style-2.0.0/sources/rules/template.py +138 -0
  174. jarbin_c_coding_style-2.0.0/sources/selftest/__init__.py +0 -0
  175. jarbin_c_coding_style-2.0.0/sources/selftest/cases.py +292 -0
  176. jarbin_c_coding_style-2.0.0/sources/services.py +90 -0
  177. jarbin_c_coding_style-2.0.0/sources/subcommands/__init__.py +0 -0
  178. jarbin_c_coding_style-2.0.0/sources/subcommands/base.py +45 -0
  179. jarbin_c_coding_style-2.0.0/sources/subcommands/check/__init__.py +0 -0
  180. jarbin_c_coding_style-2.0.0/sources/subcommands/check/command.py +45 -0
  181. jarbin_c_coding_style-2.0.0/sources/subcommands/check/fixing.py +224 -0
  182. jarbin_c_coding_style-2.0.0/sources/subcommands/check/handler.py +757 -0
  183. jarbin_c_coding_style-2.0.0/sources/subcommands/info/__init__.py +0 -0
  184. jarbin_c_coding_style-2.0.0/sources/subcommands/info/command.py +45 -0
  185. jarbin_c_coding_style-2.0.0/sources/subcommands/info/handler.py +527 -0
  186. jarbin_c_coding_style-2.0.0/sources/subcommands/registry.py +37 -0
  187. jarbin_c_coding_style-2.0.0/sources/subcommands/rule/__init__.py +0 -0
  188. jarbin_c_coding_style-2.0.0/sources/subcommands/rule/command.py +45 -0
  189. jarbin_c_coding_style-2.0.0/sources/subcommands/rule/handler.py +1067 -0
  190. jarbin_c_coding_style-2.0.0/sources/subcommands/rule/render.py +273 -0
  191. jarbin_c_coding_style-2.0.0/sources/subcommands/runner.py +124 -0
  192. jarbin_c_coding_style-2.0.0/sources/subcommands/test/__init__.py +0 -0
  193. jarbin_c_coding_style-2.0.0/sources/subcommands/test/command.py +45 -0
  194. jarbin_c_coding_style-2.0.0/sources/subcommands/test/handler.py +166 -0
  195. jarbin_c_coding_style-2.0.0/sources/subcommands/test/render.py +219 -0
  196. jarbin_c_coding_style-2.0.0/sources/subcommands/test/runner.py +430 -0
  197. jarbin_c_coding_style-2.0.0/sources/subcommands/update/__init__.py +0 -0
  198. jarbin_c_coding_style-2.0.0/sources/subcommands/update/command.py +45 -0
  199. jarbin_c_coding_style-2.0.0/sources/subcommands/update/handler.py +408 -0
  200. jarbin_c_coding_style-2.0.0/sources/utils/__init__.py +0 -0
  201. jarbin_c_coding_style-2.0.0/sources/utils/build_info.py +188 -0
  202. jarbin_c_coding_style-2.0.0/sources/utils/git.py +73 -0
  203. jarbin_c_coding_style-2.0.0/sources/utils/globs.py +98 -0
  204. jarbin_c_coding_style-2.0.0/sources/utils/logging.py +154 -0
  205. jarbin_c_coding_style-2.0.0/sources/utils/schema.py +77 -0
  206. jarbin_c_coding_style-2.0.0/sources/utils/versions.py +87 -0
@@ -0,0 +1,26 @@
1
+ # --- FOLDERS --- #
2
+ perso/
3
+ dist/
4
+ dist_done/
5
+ htmlcov/
6
+ __pycache__/
7
+ .idea/
8
+ .obsidian/
9
+ .run/
10
+ .venv/
11
+ .claude/
12
+ .tmp/
13
+ .JCCS/
14
+
15
+ # --- FILES --- #
16
+ trace
17
+ *.jar-log
18
+ *.json
19
+ *.egg-info
20
+ coverage.xml
21
+ .coverage
22
+ uv.lock
23
+
24
+ # --- FORCE INCLUDE --- #
25
+ !sources/outputs/json/report.schema.json
26
+ !sources/build_info.json
@@ -0,0 +1,151 @@
1
+ # Changelog
2
+
3
+ Every notable change to **JCCS** (Jarbin C Coding Style). Versions follow [Semantic Versioning](https://semver.org).
4
+ `jccs update --notes` prints the section of a version from this file.
5
+
6
+ ## [2.0.0] - 2026-12-03
7
+
8
+ Complete rewrite. **JCCS** 2 shares no code with 1.x: the command line, the rule format, the configuration and the
9
+ reports are new. Read "Breaking changes" before upgrading from 1.x.
10
+
11
+ ### Breaking changes
12
+
13
+ - The command is `jccs` with subcommands: `check`, `rule`, `info`, `update`, `test`. `jccs` alone prints an error and
14
+ the list of commands (exit code `2`). The old `JCCS` script is gone.
15
+ - `-R, --rule <rule...>` becomes `-R, --only <category> <rule>`, and accepts `*` for every rule of a category.
16
+ - `-S, --set <category> <rule> <arg> <value>` becomes `-S, --override` with the same values.
17
+ - `-a, --show-arguments` is removed: use `jccs rule --show <category> <rule>`.
18
+ - `--update` is removed: use `jccs update`.
19
+ - Rules are `.ini` files instead of Python classes. Rules written for 1.x do not load.
20
+ - Exit codes: `0` passed, `84` findings at or above the threshold, `1` internal error, `2` bad command line, `3`
21
+ invalid configuration, `4` environment problem, `10` update available (`jccs update --check`), `130` interrupted.
22
+ The 1.x code `-1` no longer exists, and a bad command line no longer returns `84`.
23
+ - The `MY1` and `MY2` rules of 1.x (banned functions and includes) are not part of 2.0.0.
24
+ - Only **Linux** is supported. macOS is not tested yet and native Windows is not supported.
25
+
26
+ ### Analysis
27
+
28
+ - The whole project is loaded at once: rules see every file together (headers, prototypes, file organisation,
29
+ functions used in one file only).
30
+ - Lossless lexer, preprocessor directive reader and C parser, with a project context shared by every rule.
31
+ - Files are discovered with `git ls-files` inside a git work tree, so the project `.gitignore` decides what is checked;
32
+ `--exclude` and `--include` add globs.
33
+ - Positional paths restrict the report to some files while the whole project stays loaded.
34
+
35
+ ### Rules
36
+
37
+ - Built-in rules for every category of the **Epitech C Coding Style**: files organisation (`C-O`), global scope
38
+ (`C-G`), functions (`C-F`), layout inside a function scope (`C-L`), variables and types (`C-V`), control structures
39
+ (`C-C`), header files (`C-H`), advanced (`C-A`), and language extensions.
40
+ - Each rule has checks, arguments, a severity (`info`, `minor`, `major`, `fatal`), a detection kind (`automatic`,
41
+ `heuristic`, `manual`) and examples that the test suite runs.
42
+ - Heuristic and manual checks produce review items: they ask a person to confirm and never fail a run by default.
43
+ - Custom rules: `jccs rule --create`, `--set`, `--enable`, `--disable`, `--delete`, `--duplicate`, `--export`,
44
+ `--import`, `--reset`, `--validate`, `--list`, `--show`, `--search`, `--category`, `--json`.
45
+
46
+ ### Checking
47
+
48
+ - `jccs check` with a summary by rule and a result line that states the count, the threshold and the tolerance.
49
+ - `--fail-on <level>` and `--max-errors <n>` set what fails a run; `--exit-zero` always exits `0`.
50
+ - `--strict` lowers the threshold to `info` and counts heuristic review items; the result line says how many were
51
+ counted.
52
+ - `--changed-only <ref>` or `--changed-only :staged` reports only on changed files.
53
+ - `--stdin-filelist` (with `--null`) reads the paths to check; `--stdin` with `--stdin-filename` checks an unsaved
54
+ editor buffer.
55
+ - Output levels: `-s, --silent`, `--super-silent`, `--extreme-silent`, `-V, --verbose`, `--super-verbose`,
56
+ `--summary-only`.
57
+ - Run logs in `.JCCS/logs/` (`-j, --json-log`, `--no-log`, `--show-log`).
58
+
59
+ ### Fixing
60
+
61
+ - `--fix` applies safe fixes only (whitespace and layout), verifies each change by analysing the result again, and
62
+ writes files atomically.
63
+ - `--fix --diff` prints the changes as a unified diff without writing anything.
64
+ - Every fix run writes a journal in `.JCCS/fix-journal/`; `--rollback <id>` or `--rollback latest` restores the files,
65
+ and keeps any file edited since the fix.
66
+ - `--no-backup` skips the journal.
67
+
68
+ ### Reports
69
+
70
+ - Formats: `text`, `json` (with a published JSON schema), `junit`, `sarif` (2.1.0), `github` (workflow annotations)
71
+ and `html`.
72
+ - `--format` and `--output` for the main report; `--report [FORMAT:]PATH`, repeatable, for extra files, with the format
73
+ inferred from the extension.
74
+ - The HTML report is one self-contained page: summary cards, sortable rule table, findings and review items in
75
+ collapsible groups by file or rule, filters by text, severity and kind, source excerpts with the rule description,
76
+ light and dark themes, and the embedded JSON report.
77
+ - `--ci` gives deterministic output for pipelines and, under **GitHub Actions**, writes annotations, a job summary and
78
+ step outputs. `--max-annotations` limits the annotations.
79
+
80
+ ### Configuration
81
+
82
+ - Project configuration in `.JCCS/.jccs.ini`, created on the first run with every key commented.
83
+ - Thresholds, include and exclude globs, enabled and disabled rules, rule arguments and severities, per-check settings,
84
+ and overrides for some paths (`[override:<glob>]`).
85
+ - `-c, --config` uses another configuration file.
86
+ - Invalid configuration stops the run with exit code `3` and the file, line and key at fault.
87
+
88
+ ### Integrations
89
+
90
+ - Composite **GitHub Action** (`action.yml`) with SARIF upload to code scanning.
91
+ - **pre-commit** hooks: `jccs-check` on commit, `jccs-fix` on the manual stage.
92
+ - Guides for **GitLab CI**, other CI services, git hooks and editors.
93
+
94
+ ### Commands
95
+
96
+ - `jccs info`: version, author, contact, licence, build information, rule count, configuration path, JSON report
97
+ schema, and an environment check (`--check-env`).
98
+ - `jccs update`: check, install, pin or roll back a version from git tags or **PyPI**, with release channels and release
99
+ notes (`--notes`).
100
+ - `jccs test`: runs the self-test shipped with **JCCS** (`--filter`, `--list`, `--seed`, `--timeout`, JUnit output).
101
+ - Global flags: `-h, --help`, `-v, --version`, `--no-color`, `--paths`, and `--completion bash|zsh|fish` for shell
102
+ completion scripts.
103
+ - `NO_COLOR` and `FORCE_COLOR` are respected.
104
+
105
+ ### Installation
106
+
107
+ - Package `jarbin-c-coding-style` on **PyPI**, installable with `pipx install jarbin-c-coding-style`.
108
+ - From a checkout: `make install` creates the virtual environment with **uv** and installs the `jccs` launcher in
109
+ `~/.local/bin`.
110
+
111
+ ### Documentation
112
+
113
+ - User documentation in `docs/`: tutorials, how-to guides, integrations, concepts, troubleshooting and FAQ.
114
+ - Reference pages for every command, flag and rule, generated from the code (`make docs`).
115
+ - Developer documentation in `devs/docs/`.
116
+
117
+ ### Known limits
118
+
119
+ - `--baseline`, `-p, --parallel`, `--timeout`, `--cache` and `--no-cache` of `jccs check` are not available yet:
120
+ they stop with exit code `2`.
121
+ - Some rules of the **Epitech C Coding Style** need a human decision; they are review items, never automatic findings.
122
+
123
+ ## [1.1] - 2026-06-05
124
+
125
+ ### Added
126
+
127
+ - Unit tests with **JarTest**.
128
+ - CI workflow running the tests.
129
+ - Badges and status in the README.
130
+
131
+ ## [1.0] - 2026-04-16
132
+
133
+ ### Added
134
+
135
+ - `-R, --rule` to run selected rules, and rule, category and rule manager classes.
136
+ - More rules and tests.
137
+
138
+ ### Fixed
139
+
140
+ - zsh completion; bash completion updated.
141
+
142
+ ## [0.9] - 2026-02-25
143
+
144
+ ### Added
145
+
146
+ - First public version: the `JCCS` script with global scope rules (`C-G1` to `C-G10`), banned functions and includes
147
+ (`MY1`, `MY2`).
148
+ - `-r, --root`, `-e, --exclude`, `-S, --set`, `-a, --show-arguments`, `--update`.
149
+ - Output modes `-s, --silent`, `--super-silent`, `--extreme-silent`; verbosity `-V, --verbose`, `--super-verbose`.
150
+ - Logging with `-j, --json-log`, `--no-log`, `--show-log`.
151
+ - bash and zsh completion.