Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

local variables don't show up in completion #734

Closed
karthiknadig opened this issue Mar 12, 2019 · 1 comment
Closed

local variables don't show up in completion #734

karthiknadig opened this issue Mar 12, 2019 · 1 comment
Assignees
Labels
bug Something isn't working feature: intellisense
Milestone

Comments

@karthiknadig
Copy link
Member

image

Repro code:

from flake8.formatting.base import BaseFormatter
from xml.etree import ElementTree as ET

class Flake8formatter(BaseFormatter):
    def format(self, error):
        return '{0!r}'.format(error)
   
    def show_benchmarks(self, benchmarks):
        for benchmark, value in benchmarks:
            if ben
            testcase = ET.Element('benchmark')
            testcase.attrib['classname'] = 'flake8.benchmarks'
            testcase.attrib['name'] = benchmark
            testcase.attrib['value'] = value
@MikhailArkhipov
Copy link

Part of #693

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working feature: intellisense
Projects
None yet
Development

No branches or pull requests

2 participants