Skip to content

Commit

Permalink
quality: Code lint
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlesne committed Nov 9, 2024
1 parent e14dcf5 commit f87a3ea
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
10 changes: 6 additions & 4 deletions src/scrape_it_now/helpers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
from dotenv import find_dotenv, load_dotenv

load_dotenv(find_dotenv(
# Use the current working directory from where the command is run
usecwd=True,
))
load_dotenv(
find_dotenv(
# Use the current working directory from where the command is run
usecwd=True,
)
)
8 changes: 4 additions & 4 deletions src/scrape_it_now/helpers/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ def dir_tests(sub: str) -> str:
"""
Get the absolute path to the tests folder.
"""
return str(Path(__file__).parent.parent.parent.parent.joinpath("tests", sub).absolute())
return str(
Path(__file__).parent.parent.parent.parent.joinpath("tests", sub).absolute()
)


def dir_resources(sub: str) -> str:
"""
Get the absolute path to the resources folder.
"""
return str(
Path(__file__).parent.parent.joinpath("resources", sub).absolute()
)
return str(Path(__file__).parent.parent.joinpath("resources", sub).absolute())


def scrape_container_name(job_name: str) -> str:
Expand Down

0 comments on commit f87a3ea

Please # to comment.