DataONEorg / slinky

Slinky, the DataONE Graph Store
Apache License 2.0
4 stars 4 forks source link

Establish code style and linting rules for the d1lod package #65

Closed amoeba closed 2 years ago

amoeba commented 2 years ago

The current d1lod codebase was written styled with Black which I am pretty happy with and setup.py is already configured to install it. We might also pull in one of the common linters (pep8) if that looks useful. The README should reflect whatever we come up with.

amoeba commented 2 years ago

I've set up Black and Flake8 and updated the readme to reflect that. I also tweaked Flake8's config to not warn about long lines since Black emits lines >80 chars sometimes.