Skip to content

Commit

Permalink
Update airbyte-integrations/connectors/source-github/source_github/sp…
Browse files Browse the repository at this point in the history
…ec.json
  • Loading branch information
sherifnada authored Mar 24, 2022
1 parent 745b865 commit 8ed9edd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"start_date": {
"type": "string",
"title": "Start Date",
"description": "The date from which you'd like to replicate data for GitHub in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated.",
"description": "The date from which you'd like to replicate data from GitHub in the format YYYY-MM-DDT00:00:00Z. For the streams which support this configuration, only data generated on or after the start date will be replicated. This field doesn't apply to all streams, see <a href="https://docs.airbyte.io/integrations/sources/github">the docs</a> for more info",
"examples": ["2021-03-01T00:00:00Z"],
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
"order": 1
Expand Down

3 comments on commit 8ed9edd

@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 Github(#11212)

Measures

Name Value Name Value Name Value
Vulnerabilities 0 Bugs 0 Duplicated Blocks 5
Coverage 100.0 Reliability Rating A Quality Gate Status OK
Duplicated Lines (%) 0.0 Code Smells 4 Lines of Code 857
Security Rating A Lines to Cover 23 Blocker Issues 0
Critical Issues 2 Major Issues 2 Minor Issues 1

Detected Issues

Rule File Description Message
python:black_need_format (MINOR) source_github/streams.py Please run one of the commands: "black --config ./pyproject.toml <path_to_updated_folder>" or "./gradlew format" 1 code part(s) should be updated.
python:S3776 (CRITICAL) source_github/streams.py:90 Cognitive Complexity of functions should not be too high Refactor this function to reduce its Cognitive Complexity from 18 to the 15 allowed.
python:S5886 (MAJOR) source_github/streams.py:83 Function return types should be consistent with their type hint Return a value of type "Union[int, float]" instead of "NoneType" or update function "backoff_time" type hint.
python:S5797 (CRITICAL) fixtures/github.py:79 Constants should not be used as conditions Replace this expression; used as a condition it will always be constant.
python:S112 (MAJOR) source_github/source.py:73 "Exception" and "BaseException" should not be raised Replace this generic exception class with a more specific one.

Coverage (100.0%)

File Coverage File Coverage
fixtures/github.py 0.0 fixtures/main.py 0.0
source_github/init.py 100.0 source_github/source.py 73.0
source_github/streams.py 92.7

@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 Github(#11212)

Measures

Name Value Name Value Name Value
Code Smells 4 Coverage 100.0 Vulnerabilities 0
Lines of Code 857 Quality Gate Status OK Reliability Rating A
Security Rating A Duplicated Blocks 5 Bugs 0
Duplicated Lines (%) 0.0 Lines to Cover 23 Blocker Issues 0
Critical Issues 2 Major Issues 2 Minor Issues 1

Detected Issues

Rule File Description Message
python:black_need_format (MINOR) source_github/streams.py Please run one of the commands: "black --config ./pyproject.toml <path_to_updated_folder>" or "./gradlew format" 1 code part(s) should be updated.
python:S3776 (CRITICAL) source_github/streams.py:90 Cognitive Complexity of functions should not be too high Refactor this function to reduce its Cognitive Complexity from 18 to the 15 allowed.
python:S5886 (MAJOR) source_github/streams.py:83 Function return types should be consistent with their type hint Return a value of type "Union[int, float]" instead of "NoneType" or update function "backoff_time" type hint.
python:S5797 (CRITICAL) fixtures/github.py:79 Constants should not be used as conditions Replace this expression; used as a condition it will always be constant.
python:S112 (MAJOR) source_github/source.py:73 "Exception" and "BaseException" should not be raised Replace this generic exception class with a more specific one.

Coverage (100.0%)

File Coverage File Coverage
fixtures/github.py 0.0 fixtures/main.py 0.0
source_github/init.py 100.0 source_github/source.py 73.0
source_github/streams.py 92.7

@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 Github(#11212)

Measures

Name Value Name Value Name Value
Lines to Cover 23 Quality Gate Status OK Code Smells 4
Reliability Rating A Coverage 100.0 Lines of Code 857
Security Rating A Duplicated Blocks 5 Bugs 0
Vulnerabilities 0 Duplicated Lines (%) 0.0 Blocker Issues 0
Critical Issues 2 Major Issues 2 Minor Issues 1

Detected Issues

Rule File Description Message
python:black_need_format (MINOR) source_github/streams.py Please run one of the commands: "black --config ./pyproject.toml <path_to_updated_folder>" or "./gradlew format" 1 code part(s) should be updated.
python:S3776 (CRITICAL) source_github/streams.py:90 Cognitive Complexity of functions should not be too high Refactor this function to reduce its Cognitive Complexity from 18 to the 15 allowed.
python:S5886 (MAJOR) source_github/streams.py:83 Function return types should be consistent with their type hint Return a value of type "Union[int, float]" instead of "NoneType" or update function "backoff_time" type hint.
python:S5797 (CRITICAL) fixtures/github.py:79 Constants should not be used as conditions Replace this expression; used as a condition it will always be constant.
python:S112 (MAJOR) source_github/source.py:73 "Exception" and "BaseException" should not be raised Replace this generic exception class with a more specific one.

Coverage (100.0%)

File Coverage File Coverage
fixtures/github.py 0.0 fixtures/main.py 0.0
source_github/init.py 100.0 source_github/source.py 73.0
source_github/streams.py 92.7

Please sign in to comment.