Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Tox for unit tests and linting #134

Merged
merged 8 commits into from
Jul 15, 2020
Merged

Support Tox for unit tests and linting #134

merged 8 commits into from
Jul 15, 2020

Conversation

reivilibre
Copy link
Contributor

We will then use this in CI.

I also updated the CONTRIBUTING documentation to reflect this, and fixed tests so they pass mypy (which is both good for us and makes it easier to use the lint.sh script).

@reivilibre reivilibre requested a review from a team July 15, 2020 10:40
skip_install = True
deps =
# pin deps so we don't start failing when they are updated
flake8==3.8.3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if it matters, but we also use flake8-comprehensions on Synapse. Probably should be introduced as a separate PR though.

@reivilibre reivilibre merged commit f74ea3b into master Jul 15, 2020
@reivilibre reivilibre deleted the rei/tox branch July 15, 2020 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants