Skip to content

Commit

Permalink
Merge branch 'george/publish-multi-fix' of https://github.com/airbyte…
Browse files Browse the repository at this point in the history
…hq/airbyte into george/publish-multi-fix
  • Loading branch information
Phlair committed Apr 27, 2022
2 parents 4cc21a9 + fb0550b commit 18d944c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@
- name: OpenWeather
sourceDefinitionId: d8540a80-6120-485d-b7d6-272bca477d9b
dockerRepository: airbyte/source-openweather
dockerImageTag: 0.1.2
dockerImageTag: 0.1.3
documentationUrl: https://docs.airbyte.io/integrations/sources/openweather
sourceType: api
- name: Oracle DB
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5637,7 +5637,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-openweather:0.1.2"
- dockerImage: "airbyte/source-openweather:0.1.3"
spec:
documentationUrl: "https://docsurl.com"
connectionSpecification:
Expand Down

2 comments on commit 18d944c

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SonarQube Report

SonarQube report for Airbyte Connectors Source Openweather(#12397)

Measures

Name Value Name Value Name Value
Coverage 93.7 Lines of Code 97 Duplicated Lines (%) 0.0
Code Smells 10 Reliability Rating A Security Rating A
Duplicated Blocks 0 Lines to Cover 79 Vulnerabilities 0
Quality Gate Status OK Bugs 0 Blocker Issues 0
Critical Issues 0 Major Issues 4 Minor Issues 6

Detected Issues

Rule File Description Message
python:S112 (MAJOR) source_openweather/extra_validations.py:12 "Exception" and "BaseException" should not be raised Replace this generic exception class with a more specific one.
python:S112 (MAJOR) source_openweather/extra_validations.py:14 "Exception" and "BaseException" should not be raised Replace this generic exception class with a more specific one.
python:mypy_no_any_return (MINOR) source_openweather/extra_validations.py:15 Reject returning value with "Any" type if return type is not "Any" Returning Any from function declared to return "float" . Code line: return lat_value
python:S112 (MAJOR) source_openweather/extra_validations.py:22 "Exception" and "BaseException" should not be raised Replace this generic exception class with a more specific one.
python:S112 (MAJOR) source_openweather/extra_validations.py:25 "Exception" and "BaseException" should not be raised Replace this generic exception class with a more specific one.
python:mypy_no_any_return (MINOR) source_openweather/extra_validations.py:26 Reject returning value with "Any" type if return type is not "Any" Returning Any from function declared to return "float" . Code line: return lon_value
python:mypy_import (MINOR) source_openweather/source.py:7 Require that imported module can be found or has stubs Library stubs not installed for "requests" (or incompatible with Python 3.9) . Code line: import requests
python:mypy_valid_type (MINOR) source_openweather/source.py:15 Check that type (annotation) is valid Function "builtins.any" is not valid as a type . Code line: def check_connection(self, logger, config) -> Tuple[bool, any]:
python:mypy_import (MINOR) source_openweather/streams.py:7 Require that imported module can be found or has stubs Library stubs not installed for "requests" (or incompatible with Python 3.9) . Code line: import requests
python:mypy_no_any_return (MINOR) source_openweather/streams.py:52 Reject returning value with "Any" type if return type is not "Any" Returning Any from function declared to return "bool" . Code line: return 500 <= response.status_code < 600

Coverage (93.7%)

File Coverage File Coverage
source_openweather/init.py 100.0 source_openweather/extra_validations.py 100.0
source_openweather/source.py 100.0 source_openweather/streams.py 84.8

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SonarQube Report

SonarQube report for Airbyte Connectors Source Apify Dataset(#12397)

Measures

Name Value Name Value Name Value
Duplicated Blocks 0 Code Smells 7 Reliability Rating A
Quality Gate Status OK Vulnerabilities 0 Coverage 0.0
Lines of Code 63 Bugs 0 Lines to Cover 41
Security Rating A Duplicated Lines (%) 0.0 Blocker Issues 0
Critical Issues 0 Major Issues 0 Minor Issues 7

Detected Issues

Rule File Description Message
python:mypy_valid_type (MINOR) source_apify_dataset/source.py:46 Check that type (annotation) is valid Module "json" is not valid as a type . Code line: ... def check(self, logger: AirbyteLogger, config: json) -> AirbyteConne...
python:mypy_index (MINOR) source_apify_dataset/source.py:60 Check indexing operations Value of type json? is not indexable . Code line: dataset_id = config["datasetId"]
python:mypy_valid_type (MINOR) source_apify_dataset/source.py:69 Check that type (annotation) is valid Module "json" is not valid as a type . Code line: ...ef discover(self, logger: AirbyteLogger, config: json) -> AirbyteCatal...
python:mypy_valid_type (MINOR) source_apify_dataset/source.py:97 Check that type (annotation) is valid Module "json" is not valid as a type . Code line: self, logger: AirbyteLogger, config: json, catalog: Configured...
python:mypy_valid_type (MINOR) source_apify_dataset/source.py:97 Check that type (annotation) is valid Function "builtins.any" is not valid as a type . Code line: ...config: json, catalog: ConfiguredAirbyteCatalog, state: Dict[str, any]
python:mypy_index (MINOR) source_apify_dataset/source.py:120 Check indexing operations Value of type json? is not indexable . Code line: dataset_id = config["datasetId"]
python:mypy_attr_defined (MINOR) source_apify_dataset/source.py:121 Check that attribute exists json? has no attribute "get" . Code line: clean = config.get("clean", False)

Coverage (0.0%)

File Coverage File Coverage
source_apify_dataset/init.py 0.0 source_apify_dataset/source.py 0.0

Please sign in to comment.