Consider removing the commented out code block PY-W0069
Anti-pattern
Major
19 days ago2 years old
Consider removing the commented out code block
144
145    :return: pywikibot module version string
146    """
147    # import metadata148    metadata = _DottedDict()
149    with open(path / name / '__metadata__.py') as f:
150        exec(f.read(), None, metadata)
Consider removing the commented out code block
1110                    uinfo = self.site.userinfo
1111                    error['current user'] = uinfo['name']
1112
1113            # raise error1114            try:
1115                param_repr = str(self._params)
1116                pywikibot.log(
Consider removing the commented out code block
469show_authors = True
470todo_include_todos = True
471autodoc_typehints = 'description'
472# autosectionlabel_prefix_document = True473suppress_warnings = ['autosectionlabel.*']
474toc_object_entries_show_parents = 'hide'
475
Consider removing the commented out code block
1148                        'The specified page is not a redirect. Skipping.')
1149                    return False
1150        elif self.opt.just:
1151            # not page.isRedirectPage() or self.opt.primary1152            try:
1153                if self.opt.primary:
1154                    try:
Consider removing the commented out code block
155
156if __name__ == '__main__':
157    chars, uppers, wikilinks = chars_uppers_wikilinks()
158    # save_json({'chars': chars, 'uppers': uppers, 'wikilinks': wikilinks},159    #           'user-temp-save.json')
160    # j = load_json('user-temp-save.json')
161    # chars, uppers, wikilinks = j['chars'], j['uppers'], j['wikilinks']