HDFGroup / h5pyd

h5py distributed - Python client library for HDF Rest API
Other
114 stars 38 forks source link

Add ability to report last modified HDF5 object time to h5pyd #15

Closed ghost closed 8 years ago

ghost commented 8 years ago

This is done by adding a hidden _modified property to the ObjectID class and then adding a modified read-only property to the HLObject class. The returned value is a datetime object in the UTC time zone.

Added requirement: the pytz package.

Also, I added some basic tests for this new property. As far as I can tell the new tests do not fail.

jreadey commented 8 years ago

Looks good. What are you using for PEP-8 checking? pyflakes?

ghost commented 8 years ago

What are you using for PEP-8 checking? pyflakes?

I am using the Anaconda package (no relation to Continuum's Anaconda) for the Sublime Text editor. It uses pyflakes by default and does PEP-8 and can be set to do PEP-257 linting as well.

Speaking of this... how about using https://www.codacy.com service for that. It works the same way as Travis CI and is free for public GitHub repositories.