Git Product home page Git Product logo

Comments (4)

pylint-bot avatar pylint-bot commented on July 22, 2024

Original comment by Sylvain R (BitBucket: sylvainr_):


Hi there,

Any updates on that issue?

We use sqlalchemy extensively so that false positive shows up a lot.

Because we use it so much, we can not just do an inline disable, nor do we want to disable the ''no-value-for-parameter" globally.

So our current solution for the time being is to wrap pylint into a simple script that just filter out the "No value passed for parameter 'dml' in function call" lines, which kind of sucks and make our "pylinter" more complicated to use.

Using that wrapper is not ideal and it would be awesome if:

  1. pylint/astroid would properly handle the sqlalchemy.Table.insert() calls, or
  2. provide an easy way to just ignore those specific errors.

I know 1 may not be easy so maybe 2 is a more realistic solution? I am not aware of anyway to specifically ignore this error. I tried ignored-modules=sqlalchemy or ignored-classes=sqlalchemy.sql.schema.Table but it does not mute that error.

I think in general having more granularity around ignores at the pylintrc level is a good thing when encountering those issues.

Any suggestions?

PS: Thanks a lot for that awesome tool!

from astroid.

pylint-bot avatar pylint-bot commented on July 22, 2024

Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore):


This will most likely be fixed when this PR will be integrated: https://bitbucket.org/logilab/pylint/pull-request/222/added-support-for-arity-decrementing/diff. It adds support for understanding arity decrementing decorators and this issue falls in the same situation.

from astroid.

PCManticore avatar PCManticore commented on July 22, 2024

Closing this. I don't think this issue should be here, but rather in Pylint.

from astroid.

raylu avatar raylu commented on July 22, 2024

Is there an issue in pylint that tracks this? I found pylint-dev/pylint#194 which appears to be closed because it should be handled in pylint-brain, now astroid.

from astroid.

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.