Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .copier-answers.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: 4f23417
_commit: 08a244d
_src_path: https://github.com/python-project-templates/base.git
add_docs: false
add_extension: js
Expand Down
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -141,16 +141,14 @@ js/node_modules
js/test-results
js/playwright-report
js/*.tgz
raydar/extension
raydar/dashboard/static/*
!raydar/dashboard/static/index.psp2.js

# Jupyter
.ipynb_checkpoints
.autoversion
Untitled*.ipynb
!raydar/extension/raydar.json
!raydar/extension/install.json
raydar/extension
raydar/nbextension
raydar/labextension

Expand All @@ -159,3 +157,7 @@ raydar/labextension

# Rust
target

# Hydra
outputs/
multirun/
11 changes: 7 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,15 @@ format: fix
################
# Other Checks #
################
.PHONY: check-manifest checks check
.PHONY: check-dist check-types checks check

check-manifest: ## check python sdist manifest with check-manifest
check-manifest -v
check-dist: ## check python sdist and wheel with check-dist
check-dist -v

checks: check-manifest
check-types: ## check python types with ty
ty check --python $$(which python)

checks: check-dist

# alias
check: checks
Expand Down
2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@finos/perspective-esbuild-plugin": "^3.2.1",
"@prospective.co/procss": "^0.1.17",
"cpy": "^12.1.0",
"esbuild": "^0.27.0",
"esbuild": "^0.27.2",
"esbuild-plugin-less": "^1.3.35",
"mkdirp": "^3.0.1",
"npm-run-all": "^4.1.5",
Expand Down
2 changes: 1 addition & 1 deletion js/pnpm-lock.yaml

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

28 changes: 9 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = [
"hatchling",
"hatch-js",
]
build-backend="hatchling.build"
build-backend = "hatchling.build"

[project]
name = "raydar"
Expand Down Expand Up @@ -54,17 +54,17 @@ dependencies = [
develop = [
"build",
"bump-my-version",
"check-manifest",
"codespell>=2.4,<2.5",
"check-dist",
"codespell",
"hatch-js",
"hatchling",
"mdformat>=0.7.22,<1.1",
"mdformat",
"mdformat-tables>=1",
"pytest",
"pytest-asyncio",
"pytest-cov",
"pytest-sugar",
"ruff>=0.9,<0.15",
"ruff",
"twine",
"ty",
"uv",
Expand Down Expand Up @@ -105,22 +105,12 @@ filename = "js/src/index.html"
search = 'Raydar v{current_version}'
replace = 'Raydar v{new_version}'

[tool.check-manifest]
ignore = [
".copier-answers.yaml",
"js/pnpm-lock.yaml",
"Makefile",
".vscode/*",
"docs/**/*",
"js/dist/**/*",
"raydar/dashboard/static/**/*",
]

[tool.coverage.run]
branch = true
omit = [
"raydar/tests/integration/",
]

[tool.coverage.report]
exclude_also = [
"raise NotImplementedError",
Expand All @@ -144,16 +134,16 @@ packages = [
"js",
]
exclude = [
"/js/dist",
"/js/node_modules",
"js/dist",
"js/node_modules",
]

[tool.hatch.build.targets.wheel]
packages = [
"raydar",
]
exclude = [
"/js",
"js",
]

[tool.hatch.build.hooks.hatch-js]
Expand Down
Loading