diff --git a/.github/workflows/quality-checks.yml b/.github/workflows/quality-checks.yml index c0a43a6..1fd0f2c 100644 --- a/.github/workflows/quality-checks.yml +++ b/.github/workflows/quality-checks.yml @@ -1,6 +1,8 @@ name: quality checks -on: push +on: + push: + pull_request: jobs: ruff-lint: diff --git a/src/grasshopper/lib/configuration/gh_configuration.py b/src/grasshopper/lib/configuration/gh_configuration.py index e04153d..19f083d 100644 --- a/src/grasshopper/lib/configuration/gh_configuration.py +++ b/src/grasshopper/lib/configuration/gh_configuration.py @@ -104,7 +104,6 @@ class ConfigurationConstants: "typecast": typecast_bool, "default": False, }, - "influx_verify_ssl": { "opts": ["--influx_verify_ssl"], "attrs": { diff --git a/src/grasshopper/lib/grasshopper.py b/src/grasshopper/lib/grasshopper.py index a03c7b3..71a81a5 100644 --- a/src/grasshopper/lib/grasshopper.py +++ b/src/grasshopper/lib/grasshopper.py @@ -41,7 +41,6 @@ def log(self) -> None: @property def influx_configuration(self) -> dict[str, Optional[Union[bool, str]]]: - """Extract the influx related configuration items. The InfluxDbSettings object should only get keys if there is a @@ -70,7 +69,9 @@ def influx_configuration(self) -> dict[str, Optional[Union[bool, str]]]: configuration["ssl"] = self.global_configuration.get("influx_ssl", False) - configuration["verify_ssl"] = self.global_configuration.get("influx_verify_ssl", False) + configuration["verify_ssl"] = self.global_configuration.get( + "influx_verify_ssl", False + ) return configuration