Skip to content
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

Pycharm gives "parameter self unfilled" warning about a lot of PyQt related functions #4

Closed
korcankaraokcu opened this issue Mar 1, 2016 · 6 comments

Comments

@korcankaraokcu
Copy link
Owner

The functions are not related to each other. This issue also doesn't prevent PINCE from working, so this one isn't really a bug, since PINCE can work flawlessly under these warnings. But I'd really like to know what's going on at the background.

@SunyataZero
Copy link

Hi, i found this issue while googling after having the same problem. This doesn't answer your question but cound be useful: You can use "# noinspection PyArgumentList" above the init function (for example) which tells PyCharm to not warn for this kind of thing. More info here: https://www.jetbrains.com/help/pycharm/2016.3/suppressing-inspections.html
Hope this helps!
Kind Regards, Tord

@korcankaraokcu
Copy link
Owner Author

Sorry for taking this much time to reply to your post. I completely forgot that I've opened this issue. Thanks for your suggestion, but I'd not like to ignore a real PyArgumentList error just because of this issue. I've got used to ignore those warnings by eye anyway 😄 I'll leave this issue open for other people to see and share their thoughts.

Thanks for the reply, have a good day.

@ShrekerNil
Copy link

Any one got this problem solved ??? Thanks!

@NullSeile
Copy link

I'm having the same problem. Is there any way to fix it without completely removing all inspections?

@Me817
Copy link

Me817 commented Dec 27, 2020

I'm having the same problem and found this:
"Never mind, figured it out. It was not liking something in the code and was responding with an odd error - it was actually complaining that the sub-classes were not getting initialized." at intellij-support.jetbrains.com
If I initialize the class which invoke this warning in the init() the warning disappears.
See the following example:

class A():
    def __init(self)
    def do_something(self):
        #do something
import A
class B():
    def init(self):
        a = A()    # create the instance first
        a.do_something()    # call the method by the instance

I hope this helps. And you don't have to ignore the warnings by eyes or by # noinspection PyArgumentList.

@korcankaraokcu
Copy link
Owner Author

Good solutions were presented and I'm no longer using PyCharm, closing the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants