The following issues were found

tests/basics/compare_multi.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              print(1 < 2 < 3)
print(1 < 2 < 3 < 4)
print(1 > 2 < 3)
print(1 < 2 > 3)

            

Reported by Pylint.

tests/basics/builtin_type.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              # test builtin type

print(type(int))

try:
    type()
except TypeError:
    print('TypeError')


            

Reported by Pylint.

tests/basics/builtin_hex.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              # test builtin hex function

print(hex(1))
print(hex(-1))
print(hex(15))
print(hex(-15))

print(hex(12345))
print(hex(0x12345))

            

Reported by Pylint.

tests/basics/builtin_hex_intbig.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              # test builtin hex function

print(hex(12345678901234567890))
print(hex(0x12345678901234567890))

            

Reported by Pylint.

tests/basics/builtin_id.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              print(id(1) == id(2))
print(id(None) == id(None))
# This can't be true per Python semantics, just CPython implementation detail
#print(id([]) == id([]))

l = [1, 2]
print(id(l) == id(l))

f = lambda:None

            

Reported by Pylint.

tests/basics/builtin_len1.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              # builtin len

print(len(()))
print(len((1,)))
print(len((1, 2)))

print(len([]))
x = [1, 2, 3]
print(len(x))

            

Reported by Pylint.

tests/basics/builtin_map.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              print(list(map(lambda x: x & 1, range(-3, 4))))
print(list(map(abs, range(-3, 4))))
print(list(map(tuple, [[i] for i in range(-3, 4)])))
print(list(map(pow, range(4), range(4))))

            

Reported by Pylint.

tests/basics/bytes_split.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              # default separator (whitespace)
print(b"a b".split())
print(b"   a   b    ".split(None))
print(b"   a   b    ".split(None, 1))
print(b"   a   b    ".split(None, 2))
print(b"   a   b  c  ".split(None, 1))
print(b"   a   b  c  ".split(None, 0))
print(b"   a   b  c  ".split(None, -1))


            

Reported by Pylint.

tests/cpydiff/types_str_ljust_rjust.py
1 issues
Line too long (172/100)
Error

Line: 5 Column: 1

              categories: Types,str
description: str.ljust() and str.rjust() not implemented
cause: MicroPython is highly optimized for memory usage. Easy workarounds available.
workaround: Instead of ``s.ljust(10)`` use ``"%-10s" % s``, instead of ``s.rjust(10)`` use ``"% 10s" % s``. Alternatively, ``"{:<10}".format(s)`` or ``"{:>10}".format(s)``.
"""
print("abc".ljust(10))

            

Reported by Pylint.

tests/cpydiff/types_int_bit_length.py
1 issues
Constant name "x" doesn't conform to UPPER_CASE naming style
Error

Line: 8 Column: 1

              workaround: Avoid using this method on MicroPython.
"""

x = 255
print("{} is {} bits long.".format(x, x.bit_length()))

            

Reported by Pylint.