Skip to content
Merged
Show file tree
Hide file tree
Changes from 50 commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
d495261
dev
StrikerRUS Oct 13, 2025
bc762c1
dev
StrikerRUS Oct 13, 2025
6d6e1d9
dev
StrikerRUS Oct 13, 2025
a2f5bfc
dev
StrikerRUS Oct 13, 2025
b254d61
dev
StrikerRUS Oct 13, 2025
3a43bf7
dev
StrikerRUS Oct 13, 2025
c429ac1
dev
StrikerRUS Oct 13, 2025
bf4d6c1
dev
StrikerRUS Oct 13, 2025
8a10ab2
dev
StrikerRUS Oct 13, 2025
f7981aa
dev
StrikerRUS Oct 13, 2025
3710446
dev
StrikerRUS Oct 13, 2025
327b9cb
dev
StrikerRUS Oct 13, 2025
8392b8e
dev
StrikerRUS Oct 13, 2025
2168274
dev
StrikerRUS Oct 13, 2025
ed32a87
dev
StrikerRUS Oct 13, 2025
8f02ff3
dev
StrikerRUS Oct 13, 2025
3a190bd
dev
StrikerRUS Oct 13, 2025
f0c1a2b
dev
StrikerRUS Oct 13, 2025
7b91024
dev
StrikerRUS Oct 13, 2025
6475a28
dev
StrikerRUS Oct 13, 2025
9b5b8d7
dev
StrikerRUS Oct 13, 2025
9c252ec
dev
StrikerRUS Oct 13, 2025
89201c8
dev
StrikerRUS Oct 13, 2025
dad2ffc
dev
StrikerRUS Oct 13, 2025
61a9fab
dev
StrikerRUS Oct 13, 2025
163b9b6
dev
StrikerRUS Oct 13, 2025
0b558dd
dev
StrikerRUS Oct 13, 2025
99d61c5
dev
StrikerRUS Oct 13, 2025
83b8e86
dev
StrikerRUS Oct 13, 2025
77858ec
dev
StrikerRUS Oct 13, 2025
5f6b1fc
dev
StrikerRUS Oct 13, 2025
3b63b1c
dev
StrikerRUS Oct 13, 2025
d8747c9
dev
StrikerRUS Oct 13, 2025
a30a74c
dev
StrikerRUS Oct 13, 2025
64beec8
dev
StrikerRUS Oct 13, 2025
7cdd772
вум
StrikerRUS Oct 13, 2025
c8cd3a4
dev
StrikerRUS Oct 13, 2025
dc30571
dev
StrikerRUS Oct 13, 2025
122558e
dev
StrikerRUS Oct 13, 2025
d21be41
dev
StrikerRUS Oct 13, 2025
8c3f516
dev
StrikerRUS Oct 13, 2025
d222ec0
dev
StrikerRUS Oct 13, 2025
b4ff403
dev
StrikerRUS Oct 13, 2025
48883fe
dev
StrikerRUS Oct 13, 2025
ae5ae19
dev
StrikerRUS Oct 13, 2025
336bb0a
dev
StrikerRUS Oct 13, 2025
f49812c
dev
StrikerRUS Oct 13, 2025
aaa7d8f
dev
StrikerRUS Oct 13, 2025
4d8e237
dev
StrikerRUS Oct 13, 2025
dadad7c
dev
StrikerRUS Oct 13, 2025
baa31e2
dev
StrikerRUS Oct 13, 2025
7e7d0d9
Merge branch 'master' into ci/biome
StrikerRUS Oct 16, 2025
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
4 changes: 0 additions & 4 deletions .ci/lint-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ pwsh -file ./.ci/lint-powershell.ps1 || exit 1

conda create -q -y -n test-env \
"python=3.13[build=*_cp*]" \
'biome>=1.9.3' \
'matplotlib-base>=3.9.1' \
'mypy>=1.11.1' \
'pre-commit>=3.8.0' \
Expand All @@ -23,6 +22,3 @@ bash ./.ci/run-pre-commit-mypy.sh || exit 1

echo "Linting R code"
Rscript ./.ci/lint-r-code.R "$(pwd)" || exit 1

echo "Linting JavaScript code"
bash ./.ci/lint-js.sh || exit 1
5 changes: 0 additions & 5 deletions .ci/lint-js.sh

This file was deleted.

11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -313,15 +313,19 @@ pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
prof/
*.prof
coverage.xml
*,cover
*.cover
*.py.cover
.hypothesis/
.pytest_cache/
cover/
**/coverage.html
**/coverage.html.zip
**/Rplots.pdf
Expand Down Expand Up @@ -469,3 +473,8 @@ dask-worker-space/

# pixi environments
.pixi

# mypy
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.mypy_cache/
.dmypy.json
dmypy.json
11 changes: 8 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,22 @@ repos:
- sphinx>=8.1.3
- sphinx_rtd_theme>=3.0.1
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

totally agree with removing these comments, thank you for doing that.

rev: v0.14.0
hooks:
# Run the linter.
- id: ruff-check
args: ["--config", "python-package/pyproject.toml"]
types_or: [python, jupyter]
# Run the formatter.
- id: ruff-format
args: ["--config", "python-package/pyproject.toml"]
types_or: [python, jupyter]
- repo: https://github.com/biomejs/pre-commit
rev: v2.2.5
hooks:
- id: biome-ci
args:
- --config-path=./biome.json
- --diagnostic-level=info
- --error-on-warnings
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
hooks:
Expand Down
20 changes: 10 additions & 10 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New config is a result of the following v2 release: https://biomejs.dev/guides/upgrade-to-biome-v2/

"files": {
"ignore": [".mypy_cache/", ".pixi/"]
},
"root": false,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it's needed because pre-commit creates another one root config on the fly.

biome ci.................................................................Failed
- hook id: biome-ci
- exit code: 1

 configuration ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ✖ Found a nested root configuration, but there's already a root configuration.
  
  ℹ The other configuration was found in .
  
  ℹ Use the migration command from the root of the project to update the configuration.
  
  $ biome migrate --write
  

configuration ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ✖ Biome exited because the configuration resulted in errors. Please fix them.

"extends": "//",
"formatter": {
"enabled": true,
"useEditorconfig": true
"useEditorconfig": true,
"lineWidth": 120
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That property has been deprecated and isn't part of the editor config anymore
editorconfig/editorconfig#387

biomejs/biome#7733 (comment)

},
"organizeImports": {
"enabled": true
"assist": {
"enabled": true,
"actions": {
"recommended": true
}
},
"linter": {
"enabled": true,
"rules": {
"all": true
"recommended": true
}
},
"javascript": {
"globals": ["$"]
}
}
Loading