Curts0 / PyTabular

Connect to Tabular Models via Python
https://curts0.github.io/PyTabular/
MIT License
67 stars 11 forks source link

Better PEP-8 Compliance #39

Closed Bugzey closed 1 year ago

Bugzey commented 2 years ago

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:

Implementing the above would probably also remove some flake8 exceptions the project has identified.

Curts0 commented 2 years 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.

Daandamhuis commented 1 year ago

Do you want to spend some time refactoring this, to make sure that it's correct for the future?

Curts0 commented 1 year ago

Here is where we are at so far.

Curts0 commented 1 year ago
Curts0 commented 1 year ago