Skip to content

Commit

Permalink
Make flake8 not deal with line too long errors
Browse files Browse the repository at this point in the history
  • Loading branch information
TiagoOpenCosmos committed Jan 27, 2025
1 parent 5da1516 commit c20be93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions datacosmos/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(

Check failure on line 54 in datacosmos/client.py

View workflow job for this annotation

GitHub Actions / Flake8

datacosmos/client.py#L54

Line too long (80 > 79 characters) (E501)
"Loading configuration from environment variables"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ find = {}
convention = "google"

[tool.flake8]
exclude = ["build/*"]
ignore = "E501"

0 comments on commit c20be93

Please sign in to comment.