Commit 86b5c368 authored by Duggan, John's avatar Duggan, John
Browse files

Merge branch '5-add-examples-in-advanced-visualizations-section' into 'main'

Add examples for visualizations section

Closes #5

See merge request !1
parents a6ecefef 788e9ebf
Loading
Loading
Loading
Loading
Loading

code/.gitignore

0 → 100644
+2 −0
Original line number Diff line number Diff line
*.pyc
__pycache__
+0 −0

Empty file added.

+3006 −0

File added.

Preview size limit exceeded, changes collapsed.

+97 −0
Original line number Diff line number Diff line
[tool.poetry]
name = "nova-tutorial"
version = "0.1.0"
description = "Template application"
authors = []
readme = "README.md"
license = "MIT"
keywords = ["NDIP", "NOVA", "python"]

packages = [
  { include = "nova_tutorial", from = "src" }
]


[tool.poetry.dependencies]
python = "^3.10"
nova-galaxy = "^0.4.0"
nova-mvvm = "0.8.0"
nova-trame = "0.14.0"
pandas = "^2.2.3"
plotly = "^5.24.1"
pyvista = "^0.44.2"
trame-plotly = "^3.0.2"
trame-vtk = "^2.8.14"

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


[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test*.py"]
norecursedirs = [".git", "tmp*", "_tmp*", "__pycache__"]

[tool.ruff]
line-length = 120

[tool.ruff.lint]
select = [
    "E",  # pycodestyle errors
    "W",  # pycodestyle warnings
    "F",  # pyflakes
    "I",  # isort
    "B",  # flake8-bugbear
    "C4",  # flake8-comprehensions
    "N",  # PEP8 naming convetions
    "D"  # pydocstyle
]
ignore = [
    "C901",  # too complex
    "D102", # Missing docstring in public function
    "D103", # Missing docstring in public method
    "D401"  # imperative mood

]

[tool.ruff.lint.extend-per-file-ignores]
'__init__.py' = ['D104'] # Missing docstring in public package



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

[tool.mypy]
ignore_missing_imports = false
check_untyped_defs = true
disallow_untyped_defs = true
ignore_errors = false
disable_error_code = ["import-untyped"]
# You can exclude files with the following (ONLY WHEN NECESSARY)
# exclude = ["path/to/file"]

[tool.coverage.report]
omit = [
    '*__init__*', # __init__ files should just re-export other classes and functions
]

[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:main"
+7 −0
Original line number Diff line number Diff line
import importlib.metadata

from .main import main

__all__ = ["main"]

__version__ = importlib.metadata.version(__package__)
Loading