The following issues were found
Lib/test/test_importlib/namespace_pkgs/portion2/foo/two.py
2 issues
Line: 1
Column: 1
attr = 'portion2 foo two'
Reported by Pylint.
Line: 1
Column: 1
attr = 'portion2 foo two'
Reported by Pylint.
Lib/test/test_importlib/namespace_pkgs/portion1/foo/one.py
2 issues
Line: 1
Column: 1
attr = 'portion1 foo one'
Reported by Pylint.
Line: 1
Column: 1
attr = 'portion1 foo one'
Reported by Pylint.
Lib/test/sample_doctest_no_doctests.py
2 issues
Line: 9
Column: 1
"""
class Foo(object):
"""A docstring with no doctest examples.
"""
def __init__(self):
Reported by Pylint.
Line: 9
Column: 1
"""
class Foo(object):
"""A docstring with no doctest examples.
"""
def __init__(self):
Reported by Pylint.
Lib/test/test_importlib/namespace_pkgs/not_a_namespace_pkg/foo/one.py
2 issues
Line: 1
Column: 1
attr = 'portion1 foo one'
Reported by Pylint.
Line: 1
Column: 1
attr = 'portion1 foo one'
Reported by Pylint.
Lib/test/test_importlib/namespace_pkgs/module_and_namespace_package/a_test.py
2 issues
Line: 1
Column: 1
attr = 'in module'
Reported by Pylint.
Line: 1
Column: 1
attr = 'in module'
Reported by Pylint.
Lib/test/test_importlib/namespace_pkgs/both_portions/foo/two.py
2 issues
Line: 1
Column: 1
attr = 'both_portions foo two'
Reported by Pylint.
Line: 1
Column: 1
attr = 'both_portions foo two'
Reported by Pylint.
Lib/test/test_importlib/namespace_pkgs/both_portions/foo/one.py
2 issues
Line: 1
Column: 1
attr = 'both_portions foo one'
Reported by Pylint.
Line: 1
Column: 1
attr = 'both_portions foo one'
Reported by Pylint.
Lib/test/test_json/__main__.py
2 issues
Line: 2
Column: 1
import unittest
from test.test_json import load_tests
unittest.main()
Reported by Pylint.
Line: 1
Column: 1
import unittest
from test.test_json import load_tests
unittest.main()
Reported by Pylint.
Lib/test/test_codecmaps_hk.py
2 issues
Line: 1
Column: 1
#
# test_codecmaps_hk.py
# Codec mapping tests for HongKong encodings
#
from test import multibytecodec_support
import unittest
class TestBig5HKSCSMap(multibytecodec_support.TestBase_Mapping,
Reported by Pylint.
Line: 9
Column: 1
from test import multibytecodec_support
import unittest
class TestBig5HKSCSMap(multibytecodec_support.TestBase_Mapping,
unittest.TestCase):
encoding = 'big5hkscs'
mapfileurl = 'http://www.pythontest.net/unicode/BIG5HKSCS-2004.TXT'
if __name__ == "__main__":
Reported by Pylint.
Lib/test/crashers/bogus_code_obj.py
2 issues
Line: 19
Suggestion:
https://bandit.readthedocs.io/en/latest/plugins/b102_exec_used.html
co = types.CodeType(0, 0, 0, 0, 0, 0, b'\x04\x00\x71\x00',
(), (), (), '', '', 1, b'')
exec(co)
Reported by Bandit.
Line: 19
Column: 1
co = types.CodeType(0, 0, 0, 0, 0, 0, b'\x04\x00\x71\x00',
(), (), (), '', '', 1, b'')
exec(co)
Reported by Pylint.