The following issues were found
extmod/webrepl/manifest.py
2 issues
Line: 1
Column: 1
freeze(".", ("webrepl.py", "webrepl_setup.py", "websocket_helper.py"))
Reported by Pylint.
Line: 1
Column: 1
freeze(".", ("webrepl.py", "webrepl_setup.py", "websocket_helper.py"))
Reported by Pylint.
tests/basics/builtin_pow3.py
2 issues
Line: 8
Column: 5
print(pow(3, 4, 7))
except NotImplementedError:
print("SKIP")
raise SystemExit
# test some edge cases
print(pow(1, 1, 1))
print(pow(0, 1, 1))
print(pow(1, 0, 1))
Reported by Pylint.
Line: 1
Column: 1
# test builtin pow() with integral values
# 3 arg version
try:
print(pow(3, 4, 7))
except NotImplementedError:
print("SKIP")
raise SystemExit
Reported by Pylint.
extmod/uasyncio/manifest.py
2 issues
Line: 2
Column: 1
# This list of frozen files doesn't include task.py because that's provided by the C module.
freeze(
"..",
(
"uasyncio/__init__.py",
"uasyncio/core.py",
"uasyncio/event.py",
"uasyncio/funcs.py",
"uasyncio/lock.py",
Reported by Pylint.
Line: 1
Column: 1
# This list of frozen files doesn't include task.py because that's provided by the C module.
freeze(
"..",
(
"uasyncio/__init__.py",
"uasyncio/core.py",
"uasyncio/event.py",
"uasyncio/funcs.py",
"uasyncio/lock.py",
Reported by Pylint.
tests/basics/frozenset_copy.py
2 issues
Line: 5
Column: 5
frozenset
except NameError:
print("SKIP")
raise SystemExit
s = frozenset({1, 2, 3, 4})
t = s.copy()
print(type(t))
for i in s, t:
Reported by Pylint.
Line: 1
Column: 1
try:
frozenset
except NameError:
print("SKIP")
raise SystemExit
s = frozenset({1, 2, 3, 4})
t = s.copy()
print(type(t))
Reported by Pylint.
tests/basics/frozenset_binop.py
2 issues
Line: 5
Column: 5
frozenset
except NameError:
print("SKIP")
raise SystemExit
sets = [
frozenset(), frozenset({1}), frozenset({1, 2}), frozenset({1, 2, 3}), frozenset({2, 3}),
frozenset({2, 3, 5}), frozenset({5}), frozenset({7})
]
Reported by Pylint.
Line: 1
Column: 1
try:
frozenset
except NameError:
print("SKIP")
raise SystemExit
sets = [
frozenset(), frozenset({1}), frozenset({1, 2}), frozenset({1, 2, 3}), frozenset({2, 3}),
frozenset({2, 3, 5}), frozenset({5}), frozenset({7})
Reported by Pylint.
tests/basics/frozenset_add.py
2 issues
Line: 5
Column: 5
frozenset
except NameError:
print("SKIP")
raise SystemExit
s = frozenset({1, 2, 3, 4})
try:
print(s.add(5))
except AttributeError:
Reported by Pylint.
Line: 1
Column: 1
try:
frozenset
except NameError:
print("SKIP")
raise SystemExit
s = frozenset({1, 2, 3, 4})
try:
print(s.add(5))
Reported by Pylint.
extmod/uasyncio/__init__.py
2 issues
Line: 4
Column: 1
# MicroPython uasyncio module
# MIT license; Copyright (c) 2019 Damien P. George
from .core import *
__version__ = (3, 0, 0)
_attrs = {
"wait_for": "funcs",
Reported by Pylint.
Line: 1
Column: 1
# MicroPython uasyncio module
# MIT license; Copyright (c) 2019 Damien P. George
from .core import *
__version__ = (3, 0, 0)
_attrs = {
"wait_for": "funcs",
Reported by Pylint.
tests/basics/frozenset1.py
2 issues
Line: 7
Column: 5
frozenset
except NameError:
print("SKIP")
raise SystemExit
s = frozenset()
print(s)
s = frozenset({1})
Reported by Pylint.
Line: 1
Column: 1
# basic sets
try:
frozenset
except NameError:
print("SKIP")
raise SystemExit
s = frozenset()
Reported by Pylint.
tests/extmod/uctypes_print.py
2 issues
Line: 6
Column: 5
import uctypes
except ImportError:
print("SKIP")
raise SystemExit
# we use an address of "0" because we just want to print something deterministic
# and don't actually need to set/get any values in the struct
desc = {"arr": (uctypes.ARRAY | 0, uctypes.UINT8 | 1)}
Reported by Pylint.
Line: 1
Column: 1
# test printing of uctypes objects
try:
import uctypes
except ImportError:
print("SKIP")
raise SystemExit
# we use an address of "0" because we just want to print something deterministic
# and don't actually need to set/get any values in the struct
Reported by Pylint.
tests/basics/builtin_round_intbig.py
2 issues
Line: 8
Column: 5
round(1, -1)
except NotImplementedError:
print('SKIP')
raise SystemExit
i = 2**70
tests = [
(i, 0), (i, -1), (i, -10), (i, 1),
Reported by Pylint.
Line: 1
Column: 1
# test round() with large integer values and second arg
# rounding integers is an optional feature so test for it
try:
round(1, -1)
except NotImplementedError:
print('SKIP')
raise SystemExit
Reported by Pylint.