matrix-org / sygnal

Sygnal: reference Push Gateway for Matrix
Apache License 2.0
167 stars 148 forks source link

Modernise tooling and fix CI failing #335

Closed DMRobertson closed 1 year ago

DMRobertson commented 1 year ago

Commitwise reviewable.

I think the only necessary changes were

In particular, moving to pyproject.toml was my first attempt/guess to fix the CI errors, but I don't think it was strictly necessary.

dklimpel commented 1 year ago

Failing flake8 looks like this: https://github.com/python/importlib_metadata/issues/406

:(

DMRobertson commented 1 year ago

This is an exc

Failing flake8 looks like this: python/importlib_metadata#406

:(

Good spot, thank you.

This is an excellent excuse for us to move to ruff instead of flake8.

DMRobertson commented 1 year ago

There is one unit test failing. I can't obviously see why it's failing.

dklimpel commented 1 year ago

Fix an unintended rename in #333

Sorry.

DMRobertson commented 1 year ago

Fix an unintended rename in #333

Sorry.

No worries. It's easily done, and was our fault for having broken CI.