Giter Club home page Giter Club logo

Comments (5)

mbyrnepr2 avatar mbyrnepr2 commented on June 12, 2024

Hey @buhtz it looks like expected behaviour because one of the parameter names begins with the string ignored_.
That parameter is excluded from the count of total parameters.

from pylint.

buhtz avatar buhtz commented on June 12, 2024

Technically I do understand. But what is the reason behind it? How does this improve code quality?

from pylint.

jacobtylerwalls avatar jacobtylerwalls commented on June 12, 2024

The reason is that the default value for the --ignored-argument-names setting includes ignored, which you are using in your snippet. That's unlucky in your case, but it has a fix -- you can set --ignored-argument-names to something else if you have a legitimate use case for an argument name that begins with that word.

from pylint.

buhtz avatar buhtz commented on June 12, 2024

I am still not convinced but I would minimally treat this as a bug in documentation. The docu page about that error/rule should mention the exceptional cases caused by ignoored-argument-names.

from pylint.

Pierre-Sassoulas avatar Pierre-Sassoulas commented on June 12, 2024

This would be greatly alleviated by #9184

from pylint.

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.