Typing/memory block
Typing for rod and rigid body memory blocks.
Does it pass if you run poetry run mypy --config-file pyproject.toml elastica/memory_block?
Does it pass if you run
poetry run mypy --config-file pyproject.toml elastica/memory_block?
It doesn't because SystemIdxType is not defined. You have defined in PR #382 . We can wait you to merge that.
SystemIdxType is now included in update/mypy branch: https://github.com/GazzolaLab/PyElastica/blob/update/mypy/elastica/typing.py
https://github.com/GazzolaLab/PyElastica/blob/4d05804632fb2839dfcfad7e7c18f1eb180af7e7/elastica/typing.py#L58
Cool thanks, now it passes
On this PR, can you also include typing for the file elastica/modules/memory_block.py?
okay will work on that
Also this one: https://github.com/armantekinalp/PyElastica/blob/typing/memory_block/elastica/reset_functions_for_block_structure/_reset_ghost_vector_or_scalar.py
Also this one: https://github.com/armantekinalp/PyElastica/blob/typing/memory_block/elastica/reset_functions_for_block_structure/_reset_ghost_vector_or_scalar.py
On this PR, can you also include typing for the file
elastica/modules/memory_block.py?
@armantekinalp I accidently resolved them on 384