question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't configure column limit

See original GitHub issue

It would be nice if you could add column limit customizations in the .pep8speaks.yml file. I’d like to use this bot in a project but I only want to report on lines in excess of 120 columns.

I’d be happy to make a pull request for the feature.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
OrkoHuntercommented, Jan 6, 2017

Hi @shonin,

The project reports (and fixes) the errors raised by pycodestyle. So, we can ignore the one error when the column length exceeds 79 chars. If I understood correctly, you want to raise the warning if the limit exceeds 120 columns.

In that case, I think the .pep8speaks.yml can have another custom_errors option. Please feel free to submit a PR.

2reactions
OrkoHuntercommented, Jan 6, 2017

@daneah @shonin Well I did not know about that. Awesome! I guess a column_limit option can be added. I’ll add the feature very soon and inform you about it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why can't I set a column limit when pivoting? (Community)
For example, Denodo pivots in the front end, so we can't apply a column limit to explores that are built off a Denodo...
Read more >
SharePoint list - can't create more than 12 columns (Type
You are hitting the lookup column limit for a single view. You can have no more than 12 complex columns (lookup, person/group, managed...
Read more >
i can't add more columns | WordPress.org
i add an inner section in the right column, and tried to add columns. it seems there is a limit to the number...
Read more >
phpmyadmin can't add more than 1000 columns
MySQL can have at most of 4096 columns per table. But, The exact limit depends on many interacting factors(Get details on below mentioned ......
Read more >
12.5 Limits on Table Column Count and Row Size
Column Count Limits · The maximum row size for a table constrains the number (and possibly size) of columns because the total length...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found