deps: update torch requirement from <2.10.0,>=2.4.0 to >=2.4.0,<2.11.0 #53
Annotations
10 errors
|
ruff (F401):
torchref/base/__init__.py#L210
torchref/base/__init__.py:210:5: F401 `.alignment.binned_correlation` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
help: Add unused import `binned_correlation` to __all__
|
|
ruff (F401):
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__
|
|
ruff (F401):
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__
|
|
ruff (F541):
torchref/alignment/rigid_body.py#L405
torchref/alignment/rigid_body.py:405:19: F541 f-string without any placeholders
help: Remove extraneous `f` prefix
|
|
ruff (F401):
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`
|
|
ruff (F401):
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`
|
|
ruff (F401):
torchref/alignment/ball_transform.py#L24
torchref/alignment/ball_transform.py:24:26: F401 `typing.List` imported but unused
help: Remove unused import
|
|
ruff (F401):
torchref/alignment/ball_transform.py#L24
torchref/alignment/ball_transform.py:24:20: F401 `typing.Dict` imported but unused
help: Remove unused import
|
|
ruff (F401):
torchref/alignment/ball_transform.py#L22
torchref/alignment/ball_transform.py:22:8: F401 `math` imported but unused
help: Remove unused import: `math`
|
|
ruff (F811):
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`
|