bessagroup / rvesimulator

Automated representative volume element simulator via abaqus for material constitutive law discovery
https://bessagroup.github.io/rvesimulator/
MIT License
14 stars 2 forks source link

use the type Any (from typing.Any) #70

Closed mpvanderschelling closed 10 months ago

mpvanderschelling commented 10 months ago

Problem

You are using a standard function any. Perhaps you mean the typehint typing.Any? Also, I guess you want to typehint this as Optional[int] ?

https://github.com/bessagroup/rvesimulator/blob/ea31752a6da3131cfe55027895ac23ddf684f3de/src/rvesimulator/microstructure/base.py#L22