deps: update torch requirement from <2.10.0,>=2.4.0 to >=2.4.0,<2.11.0 #12
Annotations
10 errors and 1 warning
|
Run ruff:
torchref/base/__init__.py#L189
torchref/base/__init__.py:189:49: F401 `.get_scattering_factor_torch.calc_scattering_factors_paramtetrization` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
help: Add unused import `calc_scattering_factors_paramtetrization_legacy` to __all__
|
|
Run ruff:
torchref/base/__init__.py#L64
torchref/base/__init__.py:64:5: F401 `.direct_summation` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
help: Add unused import `direct_summation` to __all__
|
|
Run ruff:
torchref/alignment/rigid_body.py#L405
torchref/alignment/rigid_body.py:405:19: F541 f-string without any placeholders
help: Remove extraneous `f` prefix
|
|
Run ruff:
torchref/alignment/rigid_body.py#L30
torchref/alignment/rigid_body.py:30:31: F401 `torchref.symmetry.spacegroup` imported but unused
help: Remove unused import: `torchref.symmetry.spacegroup`
|
|
Run ruff:
torchref/alignment/rigid_body.py#L22
torchref/alignment/rigid_body.py:22:30: F401 `typing.Tuple` imported but unused
help: Remove unused import: `typing.Tuple`
|
|
Run ruff:
torchref/alignment/ball_transform.py#L24
torchref/alignment/ball_transform.py:24:26: F401 `typing.List` imported but unused
help: Remove unused import
|
|
Run ruff:
torchref/alignment/ball_transform.py#L24
torchref/alignment/ball_transform.py:24:20: F401 `typing.Dict` imported but unused
help: Remove unused import
|
|
Run ruff:
torchref/alignment/ball_transform.py#L22
torchref/alignment/ball_transform.py:22:8: F401 `math` imported but unused
help: Remove unused import: `math`
|
|
Run ruff:
torchref/alignment/__init__.py#L86
torchref/alignment/__init__.py:86:9: F811 Redefinition of unused `cluster_rotation_peaks` from line 66: `cluster_rotation_peaks` redefined here
torchref/alignment/__init__.py:66:9: previous definition of `cluster_rotation_peaks` here
help: Remove definition: `cluster_rotation_peaks`
|
|
Run ruff:
torchref/__init__.py#L98
torchref/__init__.py:98:60: F401 `torchref.io.FcalcDataset` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
help: Add unused import `FcalcDataset` to __all__
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Loading