The following issues were found

Lib/test/test_importlib/namespace_pkgs/portion2/foo/two.py
2 issues
Constant name "attr" doesn't conform to UPPER_CASE naming style
Error

Line: 1 Column: 1

              attr = 'portion2 foo two'

            

Reported by Pylint.

Missing module docstring
Error

Line: 1 Column: 1

              attr = 'portion2 foo two'

            

Reported by Pylint.

Lib/test/test_importlib/namespace_pkgs/portion1/foo/one.py
2 issues
Missing module docstring
Error

Line: 1 Column: 1

              attr = 'portion1 foo one'

            

Reported by Pylint.

Constant name "attr" doesn't conform to UPPER_CASE naming style
Error

Line: 1 Column: 1

              attr = 'portion1 foo one'

            

Reported by Pylint.

Lib/test/sample_doctest_no_doctests.py
2 issues
Class 'Foo' inherits from object, can be safely removed from bases in python3
Error

Line: 9 Column: 1

              """


class Foo(object):
    """A docstring with no doctest examples.

    """

    def __init__(self):

            

Reported by Pylint.

Too few public methods (0/2)
Error

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
Constant name "attr" doesn't conform to UPPER_CASE naming style
Error

Line: 1 Column: 1

              attr = 'portion1 foo one'

            

Reported by Pylint.

Missing module docstring
Error

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
Constant name "attr" doesn't conform to UPPER_CASE naming style
Error

Line: 1 Column: 1

              attr = 'in module'

            

Reported by Pylint.

Missing module docstring
Error

Line: 1 Column: 1

              attr = 'in module'

            

Reported by Pylint.

Lib/test/test_importlib/namespace_pkgs/both_portions/foo/two.py
2 issues
Missing module docstring
Error

Line: 1 Column: 1

              attr = 'both_portions foo two'

            

Reported by Pylint.

Constant name "attr" doesn't conform to UPPER_CASE naming style
Error

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
Missing module docstring
Error

Line: 1 Column: 1

              attr = 'both_portions foo one'

            

Reported by Pylint.

Constant name "attr" doesn't conform to UPPER_CASE naming style
Error

Line: 1 Column: 1

              attr = 'both_portions foo one'

            

Reported by Pylint.

Lib/test/test_json/__main__.py
2 issues
Unused load_tests imported from test.test_json
Error

Line: 2 Column: 1

              import unittest
from test.test_json import load_tests

unittest.main()

            

Reported by Pylint.

Missing module docstring
Error

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
Missing module docstring
Error

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.

Missing class docstring
Error

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
Use of exec detected.
Security

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.

Use of exec
Error

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.