Skip to content

Limit line-length to 79 characters #5285

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

Open
ana opened this issue Mar 15, 2022 · 0 comments
Open

Limit line-length to 79 characters #5285

ana opened this issue Mar 15, 2022 · 0 comments

Comments

@ana
Copy link
Contributor

ana commented Mar 15, 2022

In the moment of writing this issue, the master branch has 1044 lines longer than 79 characters.

This ticket is about removing all these long lines and then enabling the corresponding pylint check C0301 and max-line-length option in pylint as follows:

--- a/.pylintrc
+++ b/.pylintrc
@@ -81,7 +81,6 @@ disable=W0212,
   C0200,
   C0201,
   C0209,
-  C0301,
   C0302,
   C0321,
   C0325,
@@ -382,7 +381,7 @@ indent-after-paren=4
 indent-string='    '
 
 # Maximum number of characters on a single line.
-max-line-length=100
+max-line-length=79
 
 # Maximum number of lines in a module.
 max-module-lines=1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Long Term (Next Q) Backlog
Development

No branches or pull requests

1 participant