Releases: green-code-initiative/creedengo-python
Releases · green-code-initiative/creedengo-python
Release 2.3.0
Added
- #110 Correction of NullPointerException in GCI2 rule
- #82 Add rule GCI112 @DataClass(slots=True) should be declared on data classes
- #108 Add rule GCI109 Avoid using exceptions for control flow
- #109 Add rule GCI110 Avoid wildcard imports
- #122 Add rule GCI111 Logging format, prefer using %s
- #23 Correction of false positive in GCI4 with TypeVar
Changed
- compatibility updates for SonarQube 25.12.0
- upgrade libraries versions
- update integration tests system to use the new component "creedengo-integration-test"
- optimization of GCI101 rule implementation + correction of TI
- technical optimization for dynamic versionning in maven (for next releases)
What's Changed
- Release 2.2.0 by @dedece35 in #96
- upgrade internal library versions and 25.9.0 compatibility by @dedece35 in #100
- Upgrade lib by @dedece35 in #101
- added rule GCI 110 - avoid wildcard imports by @hassineabd in #109
- Add GCI109 rule - Avoid using exceptions for control flow by @hassineabd in #108
- Update CHANGELOG.md by @dedece35 in #111
- [GCI 111] For logging format, prefer using %s with kwargs instead of builtin formatter "".format() or f""" by @dedece35 in #122
- Fix/readme 404 by @Lujeni in #125
- Potential fix for code scanning alert no. 2: Workflow does not contain permissions by @dedece35 in #127
- Potential fix for code scanning alert no. 5: Workflow does not contain permissions by @dedece35 in #128
- GCI1442 [Team TREE][2025] - Reduce memory footprint of dataclasses by @fabienhusseperso in #82
- ISSUE 23 : correction if typeVar exclusion by @dedece35 in #132
- Bump org.apache.maven.plugins:maven-resources-plugin from 3.4.0 to 3.5.0 by @dependabot[bot] in #139
- Bump org.sonarsource.api.plugin:sonar-plugin-api from 13.4.3.4290 to 13.5.0.4319 by @dependabot[bot] in #140
- Bump org.apache.maven.plugins:maven-shade-plugin from 3.6.1 to 3.6.2 by @dependabot[bot] in #138
New Contributors
- @hassineabd made their first contribution in #109
- @Lujeni made their first contribution in #125
- @fabienhusseperso made their first contribution in #82
Full Changelog: 2.2.0...2.3.0
Release 2.2.0
Added
- #73 Add rule GCI100 Disable Gradient For model eval, a rule specific to PyTorch and AI/ML
- #77 Add rule GCI104 AvoidCreatingTensorUsingNumpyOrNativePython, a rule specific to AI/ML code
- #70 Add rule GCI108 Prefer Append Left (a rule to prefer the use of
appendoverinsertfor list, using deques) - #78 Add rule GCI105 on String Concatenation. This rule may also apply to other rules
- #74 Add rule GCI101 Avoid Conv Bias Before Batch Normalization, a rule specific to Deeplearning
- #75 Add rule GCI102 avoid non pinned memory for dataloader. This rule is specific to PyTorch and so AI
- #68 Data : Add rule GCI107 Avoid Iterative Matrix Operations. Use vectorization by the usage of the built-in functions of TensorFlow, NumPy or Pandas
What's Changed
- Release 2.1.0 by @dedece35 in #89
- GCI96 avoidIterativeMatrixOperations #Python #DLG #Build by @cleophass in #68
- GCI102 AI AvoidNonPinnedMemoryForDataloaders #Python #DLG #Build by @cleophass in #75
- GCI101 AI AvoidConvBiasBeforeBatchNorm #Python #DLG #Build by @cleophass in #74
- GCI105 StringConcatenation #Python #DLG #Build by @cleophass in #78
- GCI108 PreferAppendLeft #Python #DLG #Build by @cleophass in #70
- GCI104 AI AvoidCreatingTensorUsingNumpyOrNativePython #Python #DLG #Build by @cleophass in #77
- GCI100 AI/PyTorch DisableGradientForModelEval #Python #DLG #Build by @cleophass in #73
Full Changelog: 2.1.0...2.2.0
Release 2.1.0
Added
- #69 Data : Add rule GCI99 Avoid CSV Format
- #76 Add rule GCI103 Dictionary Items Unused. A rule specifying that dictionary iteration should consider the pertinence of the element used.
- #79 Add rule GCI106 Avoid SQRT in a loop
- #71 Data / AI : Add rule GCI96 Require Usecols Argument in Pandas Read Functions
- #72 Add rule GCI97 Optimize square computation (scalar vs vectorized method)
Changed
- compatibility updates for SonarQube 25.5.0
- upgrade libraries versions
- correction of technical problem with Integration tests (because of Maven format in technical answer to "sonar-orchestrator-junit5" library)
- update from jdk 11 to 17
- Add Lombok annotation processing inside
maven-compilerplugin, to fix compile error on Arm64 architecture
Release 2.0.1
Changed
- #42 Correction of dead link
- update some libraries versions / TU corrections / README.md correction (compatibility)
- update sonarqube version to 25.3.0
- upgrade actions/upload-artifact and actions/download-artifact from v3 to v4
Release 2.0.0
Changed
- #43 Strong renaming plugin from
ecocode-pythontocreedengo-python(and maven groupid fromio.ecocodetoorg.green-code-initiative)
Release 1.5.0
Changed
- refactoring docker system
- #29 Add test to ensure all Rules are registered
- #24 Set correct required language because the
plugin wasn't loaded anymore - retro-compatibility modifications (9.9.0 to 10.7 and not compatible before 9.9.0) AND
add support for > 10.5 Sonarqube version (up to 10.7.0) - update some maven plugin versions and library versions to be up-to-date
- correction of SonarCloud issues
Deleted
- deletion of EC69 rule because of already deprecated (see RULES.md file)
Release 1.4.4
Release 1.4.3
Release 1.4.2
Changed
- #14 Correction of error with deprecated EC34 rule
- Update ecocode-rules-specifications to 1.4.7
Release 1.4.1
Added
- Add 10.3 SonarQube compatibility
Changed
- #5 Upgrade licence system and licence headers of Java files
- #6 Adding EC35 rule : EC35 rule replaces EC34 with a specific use case ("file not found" sepcific)
- #7 Add build number to manifest
- #123 Improve unit tests for EC7 rule
- Update ecocode-rules-specifications to 1.4.6
- README.md upgrade : docker test environment
- #10 Correction of NullPointException in EC2 rule
Deleted
- #4 Deprecate rule EC66 for Python because not applicable (see details inside issue)