Skip to content

Releases: green-code-initiative/creedengo-python

Release 2.2.0

01 Sep 21:02

Choose a tag to compare

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 append over insert for 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

Release 2.1.0

02 Aug 12:57

Choose a tag to compare

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-compiler plugin, to fix compile error on Arm64 architecture

Release 2.0.1

14 Mar 11:41

Choose a tag to compare

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

12 Dec 22:01

Choose a tag to compare

Changed

  • #43 Strong renaming plugin from ecocode-python to creedengo-python (and maven groupid from io.ecocode to org.green-code-initiative)

Release 1.5.0

04 Oct 21:17

Choose a tag to compare

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

18 Jul 20:28

Choose a tag to compare

Added

  • #26 [EC89] Avoid unlimited cache

Changed

  • #22 Depreciation of EC69 rule for python because not relevant (after analysis)

Deleted

  • #22 Delete deprecated EC66 rule for Python

Release 1.4.3

15 May 21:53

Choose a tag to compare

Added

  • #18 Add support for SonarQube 10.4 "DownloadOnlyWhenRequired" feature

Changed

  • #17 EC7 - correction setter problem on constructor method
  • check Sonarqube 10.4.1 compatibility + update docker files and README.md / NOT OK with 10.5.x (issue created)

Release 1.4.2

11 Jan 21:39

Choose a tag to compare

Changed

  • #14 Correction of error with deprecated EC34 rule
  • Update ecocode-rules-specifications to 1.4.7

Release 1.4.1

05 Jan 23:29

Choose a tag to compare

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)

Release 1.4.0

08 Aug 16:51

Choose a tag to compare

Added

  • Python rules moved from ecoCode repository to current repository
  • #142 new Python rule : Multiple if-else statement + refactoring implementation
  • #205 compatibility with SonarQube 10.1