mirror of
https://github.com/openSUSE/osc.git
synced 2026-01-29 17:18:55 +01:00
Fix these by adding a default empty assignment: osc/commandline.py:3382:62: E0606: Possibly using variable 'filter_pattern' before assignment (possibly-used-before-assignment) osc/commandline.py:6692:18: E0606: Possibly using variable 'msg' before assignment (possibly-used-before-assignment) osc/core.py:2051:23: E0606: Possibly using variable 'file_changed' before assignment (possibly-used-before-assignment) These could probably be fixed by making the code easier to follow. By silencing them for now and making the CI pass, it is easier to not regress. osc/commandline.py:3269:55: E0601: Using variable 'incident' before assignment (used-before-assignment) osc/commandline.py:3276:55: E0601: Using variable 'priority' before assignment (used-before-assignment) This is pylint not understanding that the try is for catching this case and only importing when available: osc/conf.py:77:4: E0401: Unable to import 'keyring' (import-error)