Git Product home page Git Product logo

Comments (7)

OrkoHunter avatar OrkoHunter commented on July 25, 2024 3

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.

from pep8speaks.

OrkoHunter avatar OrkoHunter commented on July 25, 2024 2

@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.

from pep8speaks.

rykener avatar rykener commented on July 25, 2024 1

This works great @OrkoHunter, thanks for making the feature!

from pep8speaks.

daneah avatar daneah commented on July 25, 2024

pycodestyle makes available a --max-line-length option that could likely be pretty easily threaded through from the .pep8speaks.yml file! Would it make more sense to have a line_length or column_limit option in that case?

from pep8speaks.

OrkoHunter avatar OrkoHunter commented on July 25, 2024

After looking into so many arguments that are made available by pycodestyle, I thought it'd be good to create a separate anchor for it in the configuration file. Now options like ignore, max-line-length can be added under the new anchor pycodestyle in .pep8speaks.yml file.

Have a look on the updated README. And do let me know if that works for you!

from pep8speaks.

OrkoHunter avatar OrkoHunter commented on July 25, 2024

@shonin If your problem is fixed, please close the issue. :)

from pep8speaks.

rykener avatar rykener commented on July 25, 2024

thanks @OrkoHunter, we really appreciate the quick update! I'll look through this in a more detailed manner on Monday, but it looks like it should work great!

from pep8speaks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.