carpentries-incubator / fair-research-software

A course on tools and practices for open, sustainable and FAIR (Findable, Accessible, Interoperable and Reusable) research software
https://carpentries-incubator.github.io/fair-research-software/
Other
7 stars 4 forks source link

Avoid dashes in Python module names #115

Open milanmlft opened 4 days ago

milanmlft commented 4 days ago

Not sure if it appears anywhere in the course material, but during the workshop there was a point where a eva-data-analysis.py file was created and then imported as a module into another script. However, using - in Python module names is not PEP8-compliant. Using _ is probably a better idea.

anenadic commented 4 days ago

We should make this a callout and also maybe use underscores for data file names to be consistent and avoid cognitive overload for learners.