Skip to content

Commit f4acefd

Browse files
authored
Merge branch 'main' into ISSUE_21
2 parents ffda8ae + 325296d commit f4acefd

File tree

5 files changed

+16
-8
lines changed

5 files changed

+16
-8
lines changed

CHANGELOG.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12+
### Changed
13+
14+
### Deleted
15+
16+
## [1.4.3] - 2024-05-15
17+
18+
### Added
19+
1220
- [#18](https://github.com/green-code-initiative/ecoCode-python/issues/18) Add support for SonarQube 10.4 "DownloadOnlyWhenRequired" feature
1321
- Add Support for SonarQube 10.4.1
1422

1523
### Changed
1624

1725
- [#17](https://github.com/green-code-initiative/ecoCode-python/issues/17) EC7 - correction setter problem on constructor method
18-
19-
### Deleted
26+
- check Sonarqube 10.4.1 compatibility + update docker files and README.md / NOT OK with 10.5.x (issue created)
2027

2128
- [#4](https://github.com/green-code-initiative/ecoCode-python/issues/4) Deprecate rule EC66 for Python because not applicable (see details inside issue)
2229
- [#21](https://github.com/green-code-initiative/ecoCode-python/issues/21) Deletion of EC69 for python because not relevant (after analysis)
@@ -58,7 +65,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5865

5966
## Comparison list
6067

61-
[unreleased](https://github.com/green-code-initiative/ecoCode-python/compare/1.4.2...HEAD)
68+
[unreleased](https://github.com/green-code-initiative/ecoCode-python/compare/1.4.3...HEAD)
69+
[1.4.3](https://github.com/green-code-initiative/ecoCode-python/compare/1.4.2...1.4.3)
6270
[1.4.2](https://github.com/green-code-initiative/ecoCode-python/compare/1.4.1...1.4.2)
6371
[1.4.1](https://github.com/green-code-initiative/ecoCode-python/compare/1.4.0...1.4.1)
6472
[1.4.0](https://github.com/green-code-initiative/ecoCode-python/releases/tag/1.4.0)

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ COPY . /usr/src/ecocode
55
WORKDIR /usr/src/ecocode
66
RUN ./tool_build.sh
77

8-
FROM sonarqube:10.3.0-community
8+
FROM sonarqube:10.4.1-community
99
COPY --from=builder /usr/src/ecocode/target/ecocode-*.jar /opt/sonarqube/extensions/plugins/

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ services:
1616
SONAR_ES_BOOTSTRAP_CHECKS_DISABLE: 'true'
1717
volumes:
1818
- type: bind
19-
source: ./target/ecocode-python-plugin-1.4.3-SNAPSHOT.jar
20-
target: /opt/sonarqube/extensions/plugins/ecocode-python-plugin-1.4.3-SNAPSHOT.jar
19+
source: ./target/ecocode-python-plugin-1.4.4-SNAPSHOT.jar
20+
target: /opt/sonarqube/extensions/plugins/ecocode-python-plugin-1.4.4-SNAPSHOT.jar
2121
- "extensions:/opt/sonarqube/extensions"
2222
- "logs:/opt/sonarqube/logs"
2323
- "data:/opt/sonarqube/data"

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>io.ecocode</groupId>
66
<artifactId>ecocode-python-plugin</artifactId>
7-
<version>1.4.3-SNAPSHOT</version>
7+
<version>1.4.4-SNAPSHOT</version>
88
<packaging>sonar-plugin</packaging>
99

1010
<name>ecoCode - Python language</name>

src/test/java/fr/greencodeinitiative/python/checks/AvoidMultipleIfElseStatementCheckTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
public class AvoidMultipleIfElseStatementCheckTest {
2727

2828
@Test
29-
public void test() throws Exception {
29+
public void test() {
3030
PythonCheckVerifier.verifyNoIssue("src/test/resources/checks/avoidMultipleIfElseStatementCompliant.py", new AvoidMultipleIfElseStatementCheck());
3131
PythonCheckVerifier.verify("src/test/resources/checks/avoidMultipleIfElseStatementNonCompliant.py", new AvoidMultipleIfElseStatementCheck());
3232
}

0 commit comments

Comments
 (0)