Skip to content

Commit

Permalink
update template
Browse files Browse the repository at this point in the history
  • Loading branch information
muddymudskipper committed Sep 23, 2024
1 parent 60cc76a commit 39a7a6f
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 44 deletions.
4 changes: 2 additions & 2 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Changes here will be overwritten by Copier
_commit: v7.0.0
_commit: v6.4.0
_src_path: gh:eccenca/cmem-plugin-template
author_mail: info@eccenca.com
author_mail: cmempy-developer@eccenca.com
author_name: eccenca GmbH
github_page: https://github.com/eccenca/cmem-plugin-shapes
project_description: Generate SHACL node and property shapes from a data graph
Expand Down
2 changes: 1 addition & 1 deletion cmem_plugin_shapes/plugin_shapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def format_namespace(iri: str) -> str:
class ShapesPlugin(WorkflowPlugin):
"""SHACL shapes EasyNav plugin"""

def __init__( # noqa: PLR0913
def __init__(
self,
data_graph_iri: str = "",
shapes_graph_iri: str = "",
Expand Down
61 changes: 31 additions & 30 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "cmem-plugin-shapes"
version = "0.0.0"
license = "Apache-2.0"
description = "Generate SHACL node and property shapes from a data graph"
authors = ["eccenca GmbH <info@eccenca.com>"]
authors = ["eccenca GmbH <cmempy-developer@eccenca.com>"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Plugins",
Expand All @@ -13,6 +13,7 @@ readme = "README-public.md"
keywords = [
"eccenca Corporate Memory", "plugin"
]

homepage = "https://github.com/eccenca/cmem-plugin-shapes"

[tool.poetry.dependencies]
Expand All @@ -23,27 +24,27 @@ str2bool = "^1.1"
urllib3 = "^2.2.2"

[tool.poetry.dependencies.cmem-plugin-base]
version = "^4.5.0"
version = "^4.7.0"
allow-prereleases = false

[tool.poetry.group.dev.dependencies]
genbadge = {extras = ["coverage"], version = "^1.1.1"}
mypy = "^1.10.0"
mypy = "^1.11.1"
pip = "^24"
pytest = "^7.4.4"
pytest-cov = "^4.1.0"
pytest = "^8.3.2"
pytest-cov = "^5.0.0"
pytest-dotenv = "^0.5.2"
pytest-html = "^4.1.1"
pytest-memray = { version = "^1.6.0", markers = "platform_system != 'Windows'" }
ruff = "^0.4.4"
pytest-memray = { version = "^1.7.0", markers = "platform_system != 'Windows'" }
ruff = "^0.6.1"
safety = "^1.10.3"

[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"

[tool.poetry-dynamic-versioning]
enable = true
enable = false
vcs = "git"
dirty = true
bump = true
Expand Down Expand Up @@ -94,5 +95,4 @@ ignore = [
"PD", # opinionated linting for pandas code
"S101", # use of assert detected
"TRY003", # Avoid specifying long messages outside the exception class
]

]
2 changes: 1 addition & 1 deletion tests/test_shapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
DATA_IRI = f"https://eccenca.com/shapes_plugin/{UUID}/data/"


@pytest.fixture()
@pytest.fixture
def _setup(request: pytest.FixtureRequest) -> None:
"""Create DI project"""

Expand Down

0 comments on commit 39a7a6f

Please sign in to comment.