Norminette

Latest version: v3.3.55

Safety actively analyzes 681857 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

3.3.55

What's Changed
* feat: check newline before braces on UserDefinedTypes by NiumXp in https://github.com/42School/norminette/pull/452
* fix: avoid calculating the length of a escaped char in char_constant_function by NiumXp in https://github.com/42School/norminette/pull/451
* add to raise an error when string is not terminated by NiumXp in https://github.com/42School/norminette/pull/421
* feat: allow use comments in other scopes that is not from a function by NiumXp in https://github.com/42School/norminette/pull/454
* Improve comments by NiumXp in https://github.com/42School/norminette/pull/455
* Improve Rule classes to be able add a rich context.history in Rules by NiumXp in https://github.com/42School/norminette/pull/457
* feat: show warnings when no errors is reported by NiumXp in https://github.com/42School/norminette/pull/459
* Update norm pdf by matthieu42Network in https://github.com/42School/norminette/pull/460
* Add to forbid struct in C files and in scopes that is not global by NiumXp in https://github.com/42School/norminette/pull/458
* feat: check spacing before typedef name by NiumXp in https://github.com/42School/norminette/pull/462


**Full Changelog**: https://github.com/42School/norminette/compare/3.3.54...3.3.55

3.3.54

What's Changed
* add to preprocessors works with chars by NiumXp in https://github.com/42School/norminette/pull/408
* add to properly handle member assignment of a function call by NiumXp in https://github.com/42School/norminette/pull/412
* add to PreProcessors only hold positive numbers by NiumXp in https://github.com/42School/norminette/pull/410
* ignore backslash in multiline comment by matthieu42Network in https://github.com/42School/norminette/pull/409
* add to check space before newline in CheckSpacing by NiumXp in https://github.com/42School/norminette/pull/415
* fix line pos with escaped chars by NiumXp in https://github.com/42School/norminette/pull/413
* Add a option --use-gitignore, for parsing only source files not match to .gitignore by kiokuless in https://github.com/42School/norminette/pull/417

New Contributors
* kiokuless made their first contribution in https://github.com/42School/norminette/pull/417
* vitorsantanna2 made their first contribution in https://github.com/42School/norminette/pull/430

**Full Changelog**: https://github.com/42School/norminette/compare/3.3.53...3.3.54

3.3.53

What's Changed
* improves how 'Rule's and 'PrimaryRule's are collected by NiumXp in https://github.com/42School/norminette/pull/382
* add to ignore non-file targets by NiumXp in https://github.com/42School/norminette/pull/389
* fix no error after NL_AFTER_VAR_DECL by astahjmo in https://github.com/42School/norminette/pull/393
* fix unexpected error when checking label statements by NiumXp in https://github.com/42School/norminette/pull/388
* fix CheckLabel rule by NiumXp in https://github.com/42School/norminette/pull/391
* update english pdf by matthieu42Network in https://github.com/42School/norminette/pull/400
* fixed norminette validating wrong includes by pruiz-ca in https://github.com/42School/norminette/pull/405
* fixed infinite loop caused when there is a space between the function name and left parenthesis by pruiz-ca in https://github.com/42School/norminette/pull/404
* Enhances functionality related to preprocessors by NiumXp in https://github.com/42School/norminette/pull/398

New Contributors
* NiumXp made their first contribution in https://github.com/42School/norminette/pull/382
* astahjmo made their first contribution in https://github.com/42School/norminette/pull/393
* pruiz-ca made their first contribution in https://github.com/42School/norminette/pull/405

**Full Changelog**: https://github.com/42School/norminette/compare/3.3.52...3.3.53

3.3.52

Rework the toolchain with poetry.
Add linter in GitHub action.
Bug fixes.

3.3.51

Small errors here and there that needed fixing.
This update should not break any code, it's just a complement to 3.3.50

3.3.50

Big update again:

- A notice pops up when a student uses a global, inviting justification for the use of said global. This notice (as far as I can tell) won't trigger the moulinette error and is just here to spark discussion between students

Errors that were wrongly tracked and are no longer tracked:
- Enabled multiple constant/strings for define (246). this is a test, we can remove it if it is abused. There still are some limitations, but to a lesser extent.
- Use Path library (244) because problems with os.path and windows
- Reordered `check` rules application (was "random")
- Better negative constant parsing (241)
- Crash when using preproc last line (238)
- Better parser on fct pointer (240)

Errors that weren't tracked and should have been (and now are tracked):
- Brackets/parenthesis stuff on var declarations (249)
- Commas at start of line on var decl (248)
- Operator/pointer stuff (247)
- Better tab/space tracker for preproc

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.