internetarchive / wikibase-patcher

Python library for interacting with the Wikibase REST API
GNU General Public License v3.0
7 stars 1 forks source link

Fix undefined names in Python code #1

Closed cclauss closed 6 months ago

cclauss commented 1 year ago

% ruff --select=E9,F63,F7,F82 --target-version=py37 .

Error: api.py:37:19: F821 Undefined name `ResponseError`
Error: api.py:55:53: F821 Undefined name `data`
Error: api.py:58:54: F821 Undefined name `data`

% ruff rule F821

undefined-name (F821)

Derived from the Pyflakes linter.

Message formats: