Closed Bugzey closed 1 year ago
Agreed labelling as bug. I made a first pass at getting closer to Pep8. I run black locally and have flake8 running with exceptions (that I didn't want to deal with at the time) on pull requests already. Will keep this open till I myself or others can clean this up.
Do you want to spend some time refactoring this, to make sure that it's correct for the future?
Here is where we are at so far.
Skimming through the code, I see that we are violating quite a lot of standard Python conventions both in the object names, project structure, and imports. Considering that the project is considered in early alpha, would it be OK to take steps to make backwards-incompatible changes at this point in time and apply as many conventions as possible?
Most notably, I'd like to focus on the following:
function_name
,method_name
,global_variable_name
ClassName
,ExceptionName
GLOBAL_CONSTANT
from pytabular.sub_module import whatever
(You seem to have fixed that recently?)tests
folder (plural)Implementing the above would probably also remove some flake8 exceptions the project has identified.