-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update test_LazySequence.py add last item test * bugfix * add docstrings * update version test
- Loading branch information
Showing
7 changed files
with
221 additions
and
144 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "ZnSlice" | ||
version = "0.1.1" | ||
version = "0.1.2" | ||
description = "Cache, advanced slicing and lazy loading for __getitem__" | ||
license = "Apache-2.0" | ||
authors = ["zincwarecode <[email protected]>"] | ||
|
@@ -40,3 +40,16 @@ exclude_lines = [ | |
"if __name__ == .__main__.:" | ||
] | ||
ignore_errors = true | ||
|
||
[tool.ruff] | ||
select = ["E", "F", "D", "N", "C"] | ||
extend-ignore = [ | ||
"C901", | ||
"D213", "D203", | ||
"D401", | ||
"N802", "N801" | ||
] | ||
|
||
exclude = [ | ||
"tests", | ||
] |
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
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,6 +1,8 @@ | ||
"""The znslice package.""" | ||
import importlib.metadata | ||
|
||
from znslice import utils | ||
from znslice.znslice import LazySequence, Reset, znslice | ||
|
||
__all__ = ["znslice", "LazySequence", "Reset"] | ||
__all__ = ["znslice", "LazySequence", "Reset", "utils"] | ||
__version__ = importlib.metadata.version("znslice") |
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