astrosat / django-astrosat-users

Common backend library for Astrosat projects' user management
GNU General Public License v3.0
2 stars 0 forks source link

Add Linting and Formatting #104

Closed marksmall closed 3 years ago

marksmall commented 4 years ago

This PR closes #32

I have added dependencies primarily to add linting and formatting of the code-base, I then re-formatted all python code in the repo.

I also took the opportunity to add a few other helpful tools:

NOTE: I have not tried to fix any linting issues caught. I think we should first discuss what we want from this, so it is useful first to see what it has caught. Allyn has far more experience and can guide what we should catch and what he considers less important.

marksmall commented 4 years ago

The tests of this PR will fail until we have merged in the changes for django-astrosat-core as it still uses drf-yasg and not drf-yasg2.