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

Black doesn't warn about long lines inside function docstrings #1841

Open
MVrachev opened this issue Feb 8, 2022 · 0 comments
Open

Black doesn't warn about long lines inside function docstrings #1841

MVrachev opened this issue Feb 8, 2022 · 0 comments
Labels
backlog Issues to address with priority for current development goals

Comments

@MVrachev
Copy link
Collaborator

MVrachev commented Feb 8, 2022

Description of issue or feature request:
After we merged #1815 I noticed multiple lines inside function docstrings are over 80 characters.
Then I run a local scan with black (version 22.1.0) and I thought black will raise an error or format them, but nothing happened. Then, I proceeded to delete my local tox cache and run tox -e lint, but nothing happen again.

Some examples of long lines inside tuf/api/metadata.py:

Note that when there are long lines with normal code black does raise an error or format them.

@jku jku added the backlog Issues to address with priority for current development goals label Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Issues to address with priority for current development goals
Projects
None yet
Development

No branches or pull requests

2 participants