There are some code pieces that are not used by Pywikibot and a quick scan with vulture creates the output below;
```
$ python -m vulture ./ --min-confidence 61
pywikibot/__init__.py:25: unused import 'inputChoice' (90% confidence)
pywikibot/__init__.py:37: unused import 'NoSuchSite' (90% confidence)
pywikibot/__init__.py:944: unused variable 'repo_site' (100% confidence)
pywikibot/cosmetic_changes.py:1152: unreachable code after 'return' (100% confidence)
pywikibot/daemonize.py:17: unused variable 'write_pid' (100% confidence)
pywikibot/data/api.py:3192: unused variable 'captchaAnswer' (100% confidence)
pywikibot/data/api.py:3192: unused variable 'captchaId' (100% confidence)
pywikibot/data/api.py:3192: unused variable 'remember' (100% confidence)
pywikibot/family.py:1419: unused variable 'transcluded' (100% confidence)
pywikibot/login.py:185: unused variable 'remember' (100% confidence)
pywikibot/page.py:1853: unused variable 'safe' (100% confidence)
pywikibot/pagegenerators.py:2636: unreachable code after 'raise' (100% confidence)
pywikibot/site.py:1285: unused variable 'cookies' (100% confidence)
pywikibot/site.py:1292: unused variable 'compress' (100% confidence)
pywikibot/site.py:1292: unused variable 'cookies' (100% confidence)
pywikibot/tools/__init__.py:383: unreachable code after 'return' (100% confidence)
pywikibot/tools/__init__.py:456: unused variable 'exc_tb' (100% confidence)
pywikibot/tools/__init__.py:456: unused variable 'exc_val' (100% confidence)
scripts/imagecopy.py:396: unused variable 'commonsconflict' (100% confidence)
scripts/redirect.py:646: unreachable code after 'break' (100% confidence)
scripts/script_wui.py:310: unsatisfiable 'if' condition (100% confidence)
tests/deprecation_tests.py:23: unreachable code after 'raise' (100% confidence)
tests/deprecation_tests.py:34: unreachable code after 'raise' (100% confidence)
tests/deprecation_tests.py:209: unused variable 'foo3' (100% confidence)
tests/deprecation_tests.py:209: unused variable 'foo4' (100% confidence)
```
Setup Pywikibot locally and remove these unused codes. It will be also useful to recheck this report with vulture and also before making a patch, run unit tests to make sure no regressions have been introduced.
**Acceptance Criteria**
[] Submit a patch fixing 4 cases of unused code related to this task!