File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -16,22 +16,22 @@ repos:
1616 args : [ --markdown-linebreak-ext=md ]
1717 exclude : ' \.svg'
1818 - repo : https://github.com/kynan/nbstripout
19- rev : 0.7 .1
19+ rev : 0.8 .1
2020 hooks :
2121 - id : nbstripout
2222 types : [ "jupyter" ]
2323 args : [ "--drop-empty-cells",
2424 " --extra-keys 'metadata.language_info.version cell.metadata.jp-MarkdownHeadingCollapsed cell.metadata.pycharm'" ]
2525 - repo : https://github.com/astral-sh/ruff-pre-commit
26- rev : v0.8.0
26+ rev : v0.11.8
2727 hooks :
2828 - id : ruff
2929 args : [ --fix ]
3030 types_or : [ python, pyi, jupyter ]
3131 - id : ruff-format
3232 types_or : [ python, pyi ]
3333 - repo : https://github.com/codespell-project/codespell
34- rev : v2.3.0
34+ rev : v2.4.1
3535 hooks :
3636 - id : codespell
3737 additional_dependencies :
4747 - id : rst-inline-touching-normal
4848 - id : text-unicode-replacement-char
4949 - repo : https://github.com/rhysd/actionlint
50- rev : v1.7.3
50+ rev : v1.7.7
5151 hooks :
5252 - id : actionlint
5353 # Disable because of false-positive SC2046
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ def coordinate_transformation_graph_sample() -> CoordTransformationGraph[SampleR
1616 }
1717
1818
19- def coordinate_transformation_graph_reference () -> (
20- CoordTransformationGraph [ ReferenceRun ]
21- ) :
19+ def coordinate_transformation_graph_reference () -> CoordTransformationGraph [
20+ ReferenceRun
21+ ] :
2222 return {
2323 ** beamline .beamline (scatter = False ),
2424 ** tof .elastic_wavelength ("tof" ),
Original file line number Diff line number Diff line change @@ -84,8 +84,7 @@ def linlogspace(
8484 num = [num ]
8585 if len (scale ) != len (edges ) - 1 :
8686 raise ValueError (
87- "Sizes do not match. The length of edges should be one "
88- "greater than scale."
87+ "Sizes do not match. The length of edges should be one greater than scale."
8988 )
9089
9190 funcs = {"linear" : sc .linspace , "log" : sc .geomspace }
You can’t perform that action at this time.
0 commit comments