An open-source Python package to easily obtain real-time, historical, or forecasted air quality data for anywhere in the world. Reliable, accurate and simple.
This PR attempts to solve #55 by configuring black and flake8. Also, as initially mentioned in #68, I've added pre-commit config that runs before every commit:
mypy
flake8
black
check file for trailing whitespace
make sure file ends in a newline
While I'm at it, additionally I work on adding a guide to setup a development environment in CONTRIBUTING (issue #54). However 1) I feel I can't wedge in the guide anywhere appropriately, and 2) I also felt CONTRIBUTING can be more concise. Based on those two things, I revamped the CONTRIBUTING at the same time as I added the guide.
I do realize and am aware that the writing style is significantly different from the previous CONTRIBUTING... Feel free to add changes if necessary.
This PR attempts to solve #55 by configuring black and flake8. Also, as initially mentioned in #68, I've added pre-commit config that runs before every commit:
While I'm at it, additionally I work on adding a guide to setup a development environment in CONTRIBUTING (issue #54). However 1) I feel I can't wedge in the guide anywhere appropriately, and 2) I also felt CONTRIBUTING can be more concise. Based on those two things, I revamped the CONTRIBUTING at the same time as I added the guide.
I do realize and am aware that the writing style is significantly different from the previous CONTRIBUTING... Feel free to add changes if necessary.