From c20be933a872f658f5c9d0a60c745a810a84b961 Mon Sep 17 00:00:00 2001 From: "tiago.peres.sousa" Date: Mon, 27 Jan 2025 15:18:48 +0000 Subject: [PATCH] Make flake8 not deal with line too long errors --- datacosmos/client.py | 4 +--- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/datacosmos/client.py b/datacosmos/client.py index e1655ed..4c55987 100644 --- a/datacosmos/client.py +++ b/datacosmos/client.py @@ -49,9 +49,7 @@ def _load_config(self, config_file: str) -> Config: """ try: if os.path.exists(config_file): - self.logger.info( - f"Loading configuration from {config_file}" - ) + self.logger.info(f"Loading configuration from {config_file}") return Config.from_yaml(config_file) self.logger.info( "Loading configuration from environment variables" diff --git a/pyproject.toml b/pyproject.toml index f97fce2..e7d3ee7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,4 +37,4 @@ find = {} convention = "google" [tool.flake8] -exclude = ["build/*"] +ignore = "E501"