hwsuk / discord-bot

Multi-purpose Discord bot for the HWSUK Discord server
2 stars 1 forks source link

Add CI workflows #50

Closed issy closed 3 years ago

issy commented 3 years ago

Workflows added:

Both Workflows apply annotations to a diff I've added .flake8 and pyproject.toml files to assist in linting configuration. This is not only for the benefit of the workflows, but also for people working on the codebase. For example, I've added scopes for pylint and isort, even though they're not used here. This is so that anyone using these tools will have a config that adheres to the same config as the linters we are using in our workflows.

I'm merging this to the refactor branch because it includes a number of cleanups that would only be applicable to the refactor branch. There's little point in merging to a branch that will fail the tests (master) when you've already fixed those errors in a refactor IMO

Closes #46