Skip to content

Conversation

@wchargin
Copy link
Contributor

Summary:
Per suggestion of @nfelt on #2967. We don’t use Pylint for line length,
and Google style says that imports are exempt from line length limits,
anyway.

Generated with:

git ls-files -z '*.py' |
    xargs -0 sed -i -e '/from.*import/s@ *# pylint: disable=line-too-long$@@'

Test Plan:
Our standard lint still passes:

$ flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
0

wchargin-branch: unsuppress-long-imports

Summary:
Per suggestion of @nfelt on #2967. We don’t use Pylint for line length,
and Google style says that imports are exempt from line length limits,
anyway.

Generated with:

```
git ls-files -z '*.py' |
    xargs -0 sed -i -e '/from.*import/s@ *# pylint: disable=line-too-long$@@'
```

Test Plan:
Our standard lint still passes:

```
$ flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
0
```

wchargin-branch: unsuppress-long-imports
@wchargin wchargin merged commit ec7e68d into master Dec 11, 2019
@wchargin wchargin deleted the wchargin-unsuppress-long-imports branch December 11, 2019 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants