pyupio / safety

Safety checks Python dependencies for known security vulnerabilities and suggests the proper remediations for vulnerabilities detected.
https://safetycli.com/product/safety-cli
MIT License
1.66k stars 141 forks source link

Resolve undefined names in util.py #435

Closed cclauss closed 9 months ago

cclauss commented 1 year ago

% flake8 . --count --select=E9,F63,F7,F82,Y --show-source --statistics

./safety/util.py:557:20: F821 undefined name 'Context'
        self, ctx: "Context", param: "Parameter", incomplete: str
                   ^
./safety/util.py:557:38: F821 undefined name 'Parameter'
        self, ctx: "Context", param: "Parameter", incomplete: str
                                     ^
2     F821 undefined name 'Context'
2

https://click.palletsprojects.com/en/8.1.x/api/?highlight=parameter#click.Context https://click.palletsprojects.com/en/8.1.x/api/?highlight=parameter#click.Parameter