Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Tighten the lint a bit #1723

Merged
merged 3 commits into from
May 24, 2019
Merged

Tighten the lint a bit #1723

merged 3 commits into from
May 24, 2019

Conversation

stephenroller
Copy link
Contributor

Patch description
Adds bugbear to our linter. This is used in fbcode and marks most of the "fatal" lints we get on a sync.

This diff also fixes a bunch of those lints.

Testing steps
Run flake8 parlai tests. Still not brave enough to go into projects

Expected behavior
Lint passes.

Logs

$ flake8 parlai tests
flake8 parlai tests  50.69s user 1.76s system 1420% cpu 3.692 total

@stephenroller
Copy link
Contributor Author

Since it was just a lint run, I don't really want to run datasets tests...

@stephenroller stephenroller merged commit ff5ee7a into master May 24, 2019
@stephenroller stephenroller deleted the tightlint branch May 24, 2019 14:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants