Passage à Prefect 3 #2618
Passage à Prefect 3 #2618
Quality Gate passed
Annotations
Check warning on line 32 in pipeline/src/deployments.py
sonarqubecloud / SonarCloud Code Analysis
Replace the type hint "list[Schedule]" with "Optional[list[Schedule]]" or don't assign "None" to "schedules"
See more on https://sonarcloud.io/project/issues?id=MTES-MCT_monitorenv&issues=AZq_rHz1CYpU4GBV80-n&open=AZq_rHz1CYpU4GBV80-n&pullRequest=2618
Check warning on line 125 in pipeline/src/read_query.py
sonarqubecloud / SonarCloud Code Analysis
Replace this constructor call with a literal.
See more on https://sonarcloud.io/project/issues?id=MTES-MCT_monitorenv&issues=AZq7BnvUxlkhw_ygrIpi&open=AZq7BnvUxlkhw_ygrIpi&pullRequest=2618
Check failure on line 190 in pipeline/src/generic_tasks.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=MTES-MCT_monitorenv&issues=AZq7Bnvmxlkhw_ygrIpk&open=AZq7Bnvmxlkhw_ygrIpk&pullRequest=2618
Check warning on line 41 in infra/docker/datapipeline/prefect3.Dockerfile
sonarqubecloud / SonarCloud Code Analysis
Sort these package names alphanumerically.
See more on https://sonarcloud.io/project/issues?id=MTES-MCT_monitorenv&issues=AZq7VBKY7MT2Cra53lAr&open=AZq7VBKY7MT2Cra53lAr&pullRequest=2618
Check warning on line 104 in infra/docker/datapipeline/prefect3.Dockerfile
sonarqubecloud / SonarCloud Code Analysis
Merge this RUN instruction with the consecutive ones.
See more on https://sonarcloud.io/project/issues?id=MTES-MCT_monitorenv&issues=AZq7VBKY7MT2Cra53lAp&open=AZq7VBKY7MT2Cra53lAp&pullRequest=2618
Check warning on line 72 in infra/docker/datapipeline/prefect3.Dockerfile
sonarqubecloud / SonarCloud Code Analysis
Merge this RUN instruction with the consecutive ones.
See more on https://sonarcloud.io/project/issues?id=MTES-MCT_monitorenv&issues=AZq7VBKY7MT2Cra53lAn&open=AZq7VBKY7MT2Cra53lAn&pullRequest=2618
Check warning on line 540 in pipeline/src/processing.py
sonarqubecloud / SonarCloud Code Analysis
Specify the "validate" parameter of this merge.
See more on https://sonarcloud.io/project/issues?id=MTES-MCT_monitorenv&issues=AZq7Bnv1xlkhw_ygrIpl&open=AZq7Bnv1xlkhw_ygrIpl&pullRequest=2618
Check warning on line 98 in pipeline/src/generic_tasks.py
sonarqubecloud / SonarCloud Code Analysis
Function "load" has 17 parameters, which is greater than the 13 authorized.
See more on https://sonarcloud.io/project/issues?id=MTES-MCT_monitorenv&issues=AZq7Bnvmxlkhw_ygrIpj&open=AZq7Bnvmxlkhw_ygrIpj&pullRequest=2618
Check warning on line 98 in infra/docker/datapipeline/prefect3.Dockerfile
sonarqubecloud / SonarCloud Code Analysis
Merge this RUN instruction with the consecutive ones.
See more on https://sonarcloud.io/project/issues?id=MTES-MCT_monitorenv&issues=AZq7VBKY7MT2Cra53lAo&open=AZq7VBKY7MT2Cra53lAo&pullRequest=2618
Check failure on line 719 in pipeline/src/processing.py
sonarqubecloud / SonarCloud Code Analysis
Specify an exception class to catch or reraise the exception
See more on https://sonarcloud.io/project/issues?id=MTES-MCT_monitorenv&issues=AZq7Bnv1xlkhw_ygrIpm&open=AZq7Bnv1xlkhw_ygrIpm&pullRequest=2618