Skip to content

Commit

Permalink
Merge pull request #681 from Ana06/lint
Browse files Browse the repository at this point in the history
Use os.path.join in lint.py
  • Loading branch information
Ana06 authored Oct 9, 2023
2 parents c582063 + 547d793 commit e9ceff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ class UsesInvalidCategory(Lint):
]

root_path = os.path.abspath(os.path.join(__file__, "../../.."))
categories_txt = f"{root_path}/categories.txt"
categories_txt = os.path.join(root_path, "categories.txt")
with open(categories_txt) as file:
CATEGORIES = [line.rstrip() for line in file]
logger.debug(CATEGORIES)
Expand Down

0 comments on commit e9ceff0

Please sign in to comment.