You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -254,6 +254,8 @@ This is meant to be enabled by developers writing visitors using the ``ast`` mod
254
254
255
255
**B909**: **Was B038** - Found a mutation of a mutable loop iterable inside the loop body. Changes to the iterable of a loop such as calls to `list.remove()` or via `del` can cause unintended bugs.
256
256
257
+
**B910**: Use Counter() instead of defaultdict(int) to avoid excessive memory use as the default dict will record missing keys with the default value when accessed.
258
+
257
259
**B950**: Line too long. This is a pragmatic equivalent of
258
260
``pycodestyle``'s ``E501``: it considers "max-line-length" but only triggers
259
261
when the value has been exceeded by **more than 10%**. ``noqa`` and ``type: ignore`` comments are ignored. You will no
@@ -273,8 +275,6 @@ on the first line and urls or paths that are on their own line::
**B910**: Use Counter() instead of defaultdict(int) to avoid excessive memory use as the default dict will record missing keys with the default value when accessed.
0 commit comments