-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #80 from funstory-ai/develop
chore: update Ruff linting configuration and format code
- Loading branch information
Showing
27 changed files
with
787 additions
and
609 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import os | ||
from pathlib import Path | ||
|
||
CACHE_FOLDER = os.path.join(os.path.expanduser("~"), ".cache", "yadt") | ||
CACHE_FOLDER = Path.home() / ".cache" / "yadt" | ||
|
||
|
||
def get_cache_file_path(filename): | ||
return os.path.join(CACHE_FOLDER, filename) | ||
return CACHE_FOLDER / filename |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.