Commit e2734714 authored by Duggan, John's avatar Duggan, John
Browse files

Update tutorial to work with latest template version

parent 422f11c0
Loading
Loading
Loading
Loading
Loading

code/episode_2/poetry.lock

deleted100755 → 0
+0 −2164

File deleted.

Preview size limit exceeded, changes collapsed.

+41 −25
Original line number Diff line number Diff line
[tool.poetry]
[project]
name = "nova-tutorial"
version = "0.1.0"
description = "Nova Tutorial Project"
@@ -6,19 +6,51 @@ authors = []
readme = "README.md"
license = "MIT"
keywords = ["NDIP", "NOVA", "python"]
requires-python = ">=3.10,<3.14"

packages = [
  { include = "nova_tutorial", from = "src" }
]
[tool.pixi.workspace]
channels = ["conda-forge"]
platforms = ["linux-64", "osx-64"]

[tool.pixi.environments]
default = {features = ["dev"], solve-group = "default"}
production = {features = [], solve-group = "default"}

[tool.pixi.dependencies]

[tool.poetry.dependencies]
python = "^3.10"
[tool.pixi.pypi-dependencies]
nova-tutorial = { path = ".", editable = true }
hatch = "*"
gitpython = ">=3.1.40,<4"
python-gitlab = ">=5.6.0,<6"
nova-trame = "*"
trame-datagrid = ">=0.2.2"


[tool.pixi.feature.dev.pypi-dependencies]
mypy = ">=1.10.0"
pre-commit = ">=2.20.0"
coverage = ">=6.4.3"
pytest = "*"
ruff = ">=0.6.2"
copier=">=9.3"
sphinx = "*"
sphinx-rtd-theme = "*"
sphinxcontrib-napoleon ="*"
tomli = "*"

[tool.pixi.tasks]
app = "python -m src.nova_tutorial.app"
init-repo = "python -m scripts.git_utils"
deploy-production = "python -m scripts.xml_utils"
deploy-prototype = "python -m scripts.xml_utils_prototype"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = ["src/nova_tutorial"]

[tool.pytest.ini_options]
testpaths = ["tests"]
@@ -26,6 +58,7 @@ python_files = ["test*.py"]
norecursedirs = [".git", "tmp*", "_tmp*", "__pycache__"]

[tool.ruff]
extend-exclude = [".pixi"]
line-length = 120

[tool.ruff.lint]
@@ -50,8 +83,6 @@ ignore = [
[tool.ruff.lint.extend-per-file-ignores]
'__init__.py' = ['D104'] # Missing docstring in public package



[tool.ruff.lint.pydocstyle]
convention = "numpy"

@@ -72,18 +103,3 @@ omit = [
[tool.coverage.run]
command_line = "-m pytest --junit-xml=reports/junit.xml"
data_file = "reports/.coverage"

[tool.poetry.dev-dependencies]
mypy = ">=1.10.0"
pre-commit = ">=2.20.0"
coverage = ">=6.4.3"
pytest = "*"
ruff = ">=0.6.2"
copier=">=9.3"
sphinx = "*"
sphinx-rtd-theme = "*"
sphinxcontrib-napoleon ="*"
tomli = "*"

[tool.poetry.scripts]
app = "nova_tutorial.app:main"
+0 −0

File mode changed from 100755 to 100644.

+0 −0

File mode changed from 100755 to 100644.

+0 −0

File mode changed from 100755 to 100644.

Loading