Deltares / UGridPy

A Python wrapper for the UGrid library.
MIT License
7 stars 2 forks source link

Make _get_attributes staticmethods #1

Closed Huite closed 2 years ago

Huite commented 2 years ago

I've also gotten rid of the numpy deprecation warnings by converting np.int to np.int32. int would've worked too, but I think int32 is more explicit.

I've added two tests as well (although they feel almost superfluous, but if it doesn't help then it won't hurt either).

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information