SrinivasMushnoori / repex

An implementation of the RepEx package as an application written in the EnTK API
MIT License
2 stars 2 forks source link

Python naming convensions #15

Closed doaa-altarawy closed 5 years ago

doaa-altarawy commented 5 years ago

More changes are needed for the code to follow python naming conventions. PEP8 describes Python best practices for naming conventions here.

  1. Packages and modules (filenames and folder names) are all lowercase, use underscore if really needed
  2. Classes and types are CamelCase, they are the only thing that's camelCase.
  3. functions and variables (including function arguments) are snake case; lowercase separated by underscore when needed.
  4. Constant are all capital letters separated with underscores.
SrinivasMushnoori commented 5 years ago

Fixed in https://github.com/SrinivasMushnoori/repex/commit/3a1d3ae3e98e8f6e0b8a772891b690e89630c11a (mostly, hopefully I haven't missed anything)