atom-community / atom-community/ide-python
pyflakes doesn't detect unused instance variables
- Dominant language
- JavaScript
- Stars
- 238
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
Atom: 1.41.0
Electron: 4.2.7
Chrome: 69.0.3497.128
Node: v10.11.0
atom-ide-ui: 0.13.0
ide-python: 1.5.0
python-language-server: 0.31.0
pyflakes: 2.1.1
This is detected as unused:
`test = ""`
This not -.-
`self.test = ""`


Contributor guide
Research direction
Reproduce the report using the two Python snippets in the issue with the listed pyflakes 2.1.1 and python-language-server versions. Then trace how ide-python invokes and reports pyflakes diagnostics; done means the unused instance-variable case is detected consistently without regressing the local-variable case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100