MongoEngine / marshmallow-mongoengine

Mongoengine integration with marshmallow
MIT License
78 stars 34 forks source link

Add linting as GitHub action #17

Closed sponsfreixes closed 2 years ago

sponsfreixes commented 2 years ago

It will run black automatically on any PR, on pushing to master, and on creating a release tag.

Also, it seems that black was the code formatter originally used (see tox.ini), but as we stopped using travis-ci, this was not enforced. Now that we are starting to use GitHub actions to run linting, we need to fix the existing code, which this PR also does.