diff --git a/src/dbt_score/__main__.py b/src/dbt_score/__main__.py index bc7c060..09ef06b 100755 --- a/src/dbt_score/__main__.py +++ b/src/dbt_score/__main__.py @@ -18,7 +18,7 @@ def set_logging() -> None: handler.setLevel(logging.WARNING) -def main(): +def main() -> None: """Main entry-point.""" set_logging() cli() diff --git a/src/dbt_score/config.py b/src/dbt_score/config.py index 83c27b7..a7d1fc5 100644 --- a/src/dbt_score/config.py +++ b/src/dbt_score/config.py @@ -71,7 +71,7 @@ def load(self) -> None: if config_file: self._load_toml_file(str(config_file)) - def overload(self, values: dict[str, str]) -> None: + def overload(self, values: dict[str, Any]) -> None: """Overload config with additional values.""" for key, value in values.items(): self.set_option(key, value) diff --git a/src/dbt_score/rule_catalog.py b/src/dbt_score/rule_catalog.py index 59b436b..2ade4a9 100644 --- a/src/dbt_score/rule_catalog.py +++ b/src/dbt_score/rule_catalog.py @@ -106,7 +106,7 @@ def format_rule(rule: Rule) -> str | None: return template -def display_catalog(config: Config, title: str, format: str): +def display_catalog(config: Config, title: str, format: str) -> None: """Print rules catalog.""" formatter: Formatter if format == "terminal":