The following issues were found

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

Line: 1 Column: 1

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


            

Reported by Pylint.

ports/teensy/core/mk20dx128.c
1 issues
Comparing pointers that point to different objects
Error

Line: 403 CWE codes: 570

              	// TODO: do this while the PLL is waiting to lock....
	while (dest < &_edata) *dest++ = *src++;
	dest = &_sbss;
	while (dest < &_ebss) *dest++ = 0;
	SCB_VTOR = 0;	// use vector table in flash

	// default all interrupts to medium priority level
	for (i=0; i < NVIC_NUM_INTERRUPTS; i++) NVIC_SET_PRIORITY(i, 128);


            

Reported by Cppcheck.

tests/feature_check/byteorder.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              try:
    import usys as sys
except ImportError:
    import sys

print(sys.byteorder)

            

Reported by Pylint.

tests/feature_check/float.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              # detect how many bits of precision the floating point implementation has

try:
    float
except NameError:
    print(0)
else:
    if float("1.0000001") == float("1.0"):
        print(30)

            

Reported by Pylint.

tests/feature_check/int_big.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              # Check whether arbitrary-precision integers (MPZ) are supported
print(1000000000000000000000000000000000000000000000)

            

Reported by Pylint.

tests/feature_check/repl_emacs_check.py
1 issues
invalid syntax (<unknown>, line 2)
Error

Line: 2 Column: 8

              # Check for emacs keys in REPL
t = +11
t == 2

            

Reported by Pylint.

tests/feature_check/repl_words_move_check.py
1 issues
invalid syntax (<unknown>, line 3)
Error

Line: 3 Column: 9

              # just check if ctrl+w is supported, because it makes sure that
# both MICROPY_REPL_EMACS_WORDS_MOVE and MICROPY_REPL_EXTRA_WORDS_MOVE are enabled.
t = 1231
t == 1

            

Reported by Pylint.

tests/feature_check/set_check.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              # check if set literal syntax is supported
print({1})

            

Reported by Pylint.

tests/float/builtin_float_abs.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              # test builtin abs function with float args

for val in (
    "1.0",
    "-1.0",
    "0.0",
    "-0.0",
    "nan",
    "-nan",

            

Reported by Pylint.

tests/float/builtin_float_hash.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              # test builtin hash function with float args

# these should hash to an integer with a specific value
for val in (
    "0.0",
    "-0.0",
    "1.0",
    "2.0",
    "-12.0",

            

Reported by Pylint.