Set up linting, formatting and, typechecking
- Use
black
for formatting - Use
ruff
for linting with all relevant rule groups enabled - Use
pre-commit
hooks to enforce rules - Replace
tox
in the CI with saidpre-commit
hooks - Remove
tox
and Makefile targets as they are not being used anywhere at the moment