CheckPointSW/PolicyCleanUp

Code cleanup proposal

vbrozik opened this issue · 1 comments

I am about to start using this program but I would need to add some functionality.
Currently the code is hard to read and work with because it does not follow the established formatting practises like PEP8.

Would you accept pull-requests to make the code better maintainable and expandable?
How long would it usually take to accept the pull-request?

I would like to help with:

  • Formatting to comply usual practise (PEP8). I suggest to use black at the beginning as there is no style established right now.
  • Move the documentation from comments to proper docstrings.
  • Change the application to a proper Python package installable by pip and executable by its name.
  • Split the large file to more easily maintainable modules.
  • Optionally remove obsolete code needed for unsupported Python 2.

I am closing the issue because of lack of interest. I had to re-implement the cleanup tool taking this script as an inspiration.

Here are the first cleanup steps but I will probably delete this fork:
https://github.com/vbrozik/PolicyCleanUp