merge devel to master to release v0.2.24 (#808)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Chores**
- Updated developer tooling configurations to use a newer linting hook
version.
- **Refactor**
- Streamlined structure processing so that magnetic data is included
only when defined, resulting in cleaner output.
- Optimized coordinate adjustments with vectorized operations for
improved performance.
- **Tests**
- Cleaned up test data by removing redundant magnetic moment fields from
atomic position entries.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->