Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
clbarnes committed Jul 15, 2019
1 parent 2e539e7 commit 95348a2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion pyn5/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@
"DatasetINT64",
"DatasetFLOAT32",
"DatasetFLOAT64",
"File"
"File",
"Group",
"Dataset",
"AttributeManager"
]
2 changes: 1 addition & 1 deletion pyn5/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@


class Dataset(DatasetBase):
def __init__(self, name: str, parent: "Group"):
def __init__(self, name: str, parent: "Group"): # noqa would need circular imports
"""
:param name: basename of the dataset
Expand Down
2 changes: 1 addition & 1 deletion pyn5/file_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def _create_child_dataset(

if chunks is None:
chunks = shape
elif chunks == True:
elif chunks is True:
chunks = guess_chunks(shape, dtype.itemsize)

dpath = self._path / name
Expand Down

0 comments on commit 95348a2

Please sign in to comment.