Skip to content

Commit

Permalink
**CI** Formatted code + Updated version number and documentation. [sk…
Browse files Browse the repository at this point in the history
…ip ci]
  • Loading branch information
github-actions[bot] committed Jul 28, 2024
1 parent 483c10f commit 0248f65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions graze/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ def __init__(self, rootdir=DFLT_GRAZE_DIR):

@add_ipython_key_completions
@wrap_kvs(
key_of_id=localpath_to_url,
id_of_key=url_to_localpath,
key_of_id=localpath_to_url, id_of_key=url_to_localpath,
)
class LocalGrazed(LocalFiles):
"""LocalFiles using url as keys"""
Expand Down Expand Up @@ -227,7 +226,7 @@ def _ensure_dirs_of_file_exists(filepath: str):
def _write_to_file(contents, filepath, *, mode='wb'):
with open(filepath, mode) as f:
f.write(contents)
return filepath
return filepath


def _read_file(filepath, *, mode='rb'):
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = graze
version = 0.1.21
version = 0.1.22
url = https://github.com/thorwhalen/graze
platforms = any
description_file = README.md
Expand Down

0 comments on commit 0248f65

Please sign in to comment.