You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Not able to locate member from parent class, apparently #14
Hi, just created a pyrightconfig.json and started experimenting more with pyright against the project I am currently working on. It did find a couple of real bugs already 🐛 thanks! But there are some that appear to be false positives.
One is this one where it complains about a missing member, which is defined in a parent class.
/home/kinow/Development/python/workspace/cylc/lib/cylc/loggingutil.py
'_open' is not a known member of 'TimestampRotatingFileHandler' (141, 28)
def_open(self):
""" Open the current base file with the (original) mode and encoding. Return the resulting stream. """returnopen(self.baseFilename, self.mode, encoding=self.encoding)
Activity
kinow commentedon Mar 25, 2019
And just confirming, this is from the output of
pyrightran as an external tool in PyCharm:kinow commentedon Mar 25, 2019
Oh, sorry, just realized that was a private method. I was reading it as
open. Good warning! Closing.wearetvxq commentedon Jul 15, 2019
can you tell me how to install pyright in pycham, thanks
erictraut commentedon Jul 15, 2019
Pyright isn't compatible with pycharm. It's a VS Code extension. It also runs on the command line.
Merge pull request microsoft#14 from MikhailArkhipov/master
Port the member-access core: getTypeOfClassMemberName and the descrip…
Port the member-access core: getTypeOfClassMemberName and the descrip…
Port the member-access core: getTypeOfClassMemberName and the descrip…
Port the member-access core: getTypeOfClassMemberName and the descrip…
Port the member-access core: getTypeOfClassMemberName and the descrip…
Port the member-access core: getTypeOfClassMemberName and the descrip…