-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use entrypoints, bump min yt version, update workflows
- Loading branch information
1 parent
d0aaa76
commit e634b0e
Showing
14 changed files
with
49 additions
and
119 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
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 was deleted.
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,17 +1,21 @@ | ||
default_language_version: | ||
python: python3.10 | ||
|
||
ci: | ||
autofix_prs: false | ||
autoupdate_schedule: weekly | ||
|
||
repos: | ||
- repo: https://github.com/ambv/black | ||
rev: 22.8.0 # keep in sync with tests/lint_requirements.txt | ||
rev: 22.8.0 | ||
hooks: | ||
- id: black | ||
language_version: python3 | ||
- repo: https://github.com/timothycrosley/isort | ||
rev: '5.12.0' # keep in sync with tests/lint_requirements.txt | ||
rev: '5.12.0' | ||
hooks: | ||
- id: isort | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: '6.0.0' # keep in sync with tests/lint_requirements.txt | ||
rev: '6.0.0' | ||
hooks: | ||
- id: flake8 |
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "yt_aspect" | ||
version = "0.1.1" | ||
version = "0.2.0" | ||
authors = [ | ||
{ name="Chris Havlin", email="[email protected]" }, | ||
] | ||
|
@@ -16,10 +16,23 @@ classifiers = [ | |
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
] | ||
dependencies=['yt>4.1.0', 'xmltodict'] | ||
dependencies=['yt>=4.2.2', 'xmltodict'] | ||
|
||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/data-exp-lab/yt_aspect" | ||
"Bug Tracker" = "https://github.com/data-exp-lab/yt_aspect/issues" | ||
|
||
[project.entry-points."yt.frontends"] | ||
aspect = "yt_aspect.api:ASPECTDataset" | ||
pvtu = "yt_aspect.api:PVTUDataset" | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"pytest>=6.1", | ||
"tomli", | ||
"pytest-cov", | ||
] | ||
dev = [ | ||
'pre-commit', | ||
] |
This file was deleted.
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
This file was deleted.
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,12 +1 @@ | ||
from .data_structures import ( # noqa: F401 | ||
ASPECTDataset, | ||
ASPECTUnstructuredIndex, | ||
ASPECTUnstructuredMesh, | ||
PVTUDataset, | ||
PVTUIndex, | ||
PVTUMesh, | ||
) | ||
from .fields import ASPECTFieldInfo, PVTUFieldInfo # noqa: F401 | ||
from .io import IOHandlerASPECT, IOHandlerPVTU # noqa: F401 | ||
|
||
__version__ = "0.1.1" | ||
__version__ = "0.2.0" |
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,5 +1,10 @@ | ||
from .data_structures import ASPECTDataset # noqa: F401; noqa: F401 | ||
from .data_structures import ASPECTUnstructuredIndex # noqa: F401 | ||
from .data_structures import ASPECTUnstructuredMesh # noqa: F401 | ||
from .fields import ASPECTFieldInfo # noqa: F401 | ||
from .io import IOHandlerASPECT # noqa: F401 | ||
from .data_structures import ( # noqa: F401 | ||
ASPECTDataset, | ||
ASPECTUnstructuredIndex, | ||
ASPECTUnstructuredMesh, | ||
PVTUDataset, | ||
PVTUIndex, | ||
PVTUMesh, | ||
) | ||
from .fields import ASPECTFieldInfo, PVTUFieldInfo # noqa: F401 | ||
from .io import IOHandlerASPECT, IOHandlerPVTU # noqa: F401 |