Skip to content
Closed
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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v6.0.0
hooks:
- id: check-added-large-files
args: [--maxkb=8192]
Expand All @@ -13,15 +13,15 @@ repos:
- id: trailing-whitespace
exclude: "tests/cis_tests/.*"
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.3
rev: v0.12.10
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
exclude: "tests/cis_tests/.*"
- id: ruff-format
exclude: "tests/cis_tests/.*"
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
rev: v2.4.1
hooks:
- id: codespell
exclude: "notebooks/"
3 changes: 1 addition & 2 deletions util/installation_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@
print("All required packages installed")
else:
print(
"Please install these missing packages "
"to be able to run the Imaging Notebooks."
"Please install these missing packages to be able to run the Imaging Notebooks."
)
missing = [k for k, v in import_result.items() if not v]
print("\t" + "\n\t".join(missing))
Expand Down
5 changes: 4 additions & 1 deletion white_beam.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -227,15 +227,18 @@
"# this is using the hsnt kernel conda environment\n",
"\n",
"import warnings\n",
"warnings.filterwarnings('ignore')\n",
"\n",
"warnings.filterwarnings(\"ignore\")\n",
"\n",
"%matplotlib inline\n",
"\n",
"from __code.white_beam import WhiteBeam\n",
"\n",
"from __code import system\n",
"\n",
"system.System.select_working_dir()\n",
"from __code.__all import custom_style\n",
"\n",
"custom_style.style()"
]
},
Expand Down
Loading