@@ -895,7 +895,7 @@ def show(
895895                +  "\n " 
896896            )
897897
898-         for  name , branch  in  self .iteritems (   # noqa: B301 (not a dict) 
898+         for  name , branch  in  self .iteritems (
899899            filter_name = filter_name ,
900900            filter_typename = filter_typename ,
901901            filter_branch = filter_branch ,
@@ -1379,7 +1379,7 @@ def keys(
13791379        Returns the names of the subbranches as a list of strings. 
13801380        """ 
13811381        return  list (
1382-             self .iterkeys (   # noqa: B301 (not a dict) 
1382+             self .iterkeys (
13831383                filter_name = filter_name ,
13841384                filter_typename = filter_typename ,
13851385                filter_branch = filter_branch ,
@@ -1416,7 +1416,7 @@ def values(
14161416        :ref:`uproot.behaviors.TBranch.HasBranches.branches`.) 
14171417        """ 
14181418        return  list (
1419-             self .itervalues (   # noqa: B301 (not a dict) 
1419+             self .itervalues (
14201420                filter_name = filter_name ,
14211421                filter_typename = filter_typename ,
14221422                filter_branch = filter_branch ,
@@ -1453,7 +1453,7 @@ def items(
14531453        of (str, :doc:`uproot.behaviors.TBranch.TBranch`). 
14541454        """ 
14551455        return  list (
1456-             self .iteritems (   # noqa: B301 (not a dict) 
1456+             self .iteritems (
14571457                filter_name = filter_name ,
14581458                filter_typename = filter_typename ,
14591459                filter_branch = filter_branch ,
@@ -1527,7 +1527,7 @@ def iterkeys(
15271527
15281528        Returns the names of the subbranches as an iterator over strings. 
15291529        """ 
1530-         for  k , _  in  self .iteritems (   # noqa: B301 (not a dict) 
1530+         for  k , _  in  self .iteritems (
15311531            filter_name = filter_name ,
15321532            filter_typename = filter_typename ,
15331533            filter_branch = filter_branch ,
@@ -1563,7 +1563,7 @@ def itervalues(
15631563        (Note: with ``recursive=False``, this is the same as 
15641564        :ref:`uproot.behaviors.TBranch.HasBranches.branches`.) 
15651565        """ 
1566-         for  _ , v  in  self .iteritems (   # noqa: B301 (not a dict) 
1566+         for  _ , v  in  self .iteritems (
15671567            filter_name = filter_name ,
15681568            filter_typename = filter_typename ,
15691569            filter_branch = filter_branch ,
@@ -1625,7 +1625,7 @@ def iteritems(
16251625                yield  branch .name , branch 
16261626
16271627            if  recursive :
1628-                 for  k1 , v  in  branch .iteritems (   # noqa: B301 (not a dict) 
1628+                 for  k1 , v  in  branch .iteritems (
16291629                    recursive = recursive ,
16301630                    filter_name = no_filter ,
16311631                    filter_typename = filter_typename ,
@@ -1669,7 +1669,7 @@ def itertypenames(
16691669        Returns (name, typename) pairs of the subbranches as an iterator over 
16701670        2-tuples of (str, str). 
16711671        """ 
1672-         for  k , v  in  self .iteritems (   # noqa: B301 (not a dict) 
1672+         for  k , v  in  self .iteritems (
16731673            filter_name = filter_name ,
16741674            filter_typename = filter_typename ,
16751675            filter_branch = filter_branch ,
@@ -1682,7 +1682,7 @@ def _ipython_key_completions_(self):
16821682        """ 
16831683        Supports key-completion in an IPython or Jupyter kernel. 
16841684        """ 
1685-         return  self .iterkeys ()   # noqa: B301 (not a dict) 
1685+         return  self .iterkeys ()
16861686
16871687    def  num_entries_for (
16881688        self ,
@@ -1800,7 +1800,7 @@ def common_entry_offsets(
18001800        :ref:`uproot.behaviors.TBranch.TBranch.entry_offsets`. 
18011801        """ 
18021802        common_offsets  =  None 
1803-         for  branch  in  self .itervalues (   # noqa: B301 (not a dict) 
1803+         for  branch  in  self .itervalues (
18041804            filter_name = filter_name ,
18051805            filter_typename = filter_typename ,
18061806            filter_branch = filter_branch ,
@@ -1834,9 +1834,7 @@ def __getitem__(self, where):
18341834
18351835        if  "/"  in  where :
18361836            where  =  "/" .join ([x  for  x  in  where .split ("/" ) if  x  !=  "" ])
1837-             for  k , v  in  self .iteritems (  # noqa: B301 (not a dict) 
1838-                 recursive = True , full_paths = True 
1839-             ):
1837+             for  k , v  in  self .iteritems (recursive = True , full_paths = True ):
18401838                if  where  ==  k :
18411839                    self ._lookup [original_where ] =  v 
18421840                    return  v 
@@ -2787,7 +2785,7 @@ def _filter_name_deep(filter_name, hasbranches, branch):
27872785
27882786def  _keys_deep (hasbranches ):
27892787    out  =  set ()
2790-     for  branch  in  hasbranches .itervalues (recursive = True ):   # noqa: B301 (not a dict) 
2788+     for  branch  in  hasbranches .itervalues (recursive = True ):
27912789        name  =  branch .name 
27922790        out .add (name )
27932791        while  branch  is  not hasbranches :
@@ -3049,7 +3047,7 @@ def _regularize_expressions(
30493047    branchid_interpretation  =  {}
30503048
30513049    if  expressions  is  None :
3052-         for  branchname , branch  in  hasbranches .iteritems (   # noqa: B301 (not a dict) 
3050+         for  branchname , branch  in  hasbranches .iteritems (
30533051            filter_name = filter_name ,
30543052            filter_typename = filter_typename ,
30553053            filter_branch = filter_branch ,
@@ -3342,7 +3340,7 @@ def _hasbranches_num_entries_for(
33423340    hasbranches , target_num_bytes , entry_start , entry_stop , branchid_interpretation 
33433341):
33443342    total_bytes  =  0.0 
3345-     for  branch  in  hasbranches .itervalues (recursive = True ):   # noqa: B301 (not a dict) 
3343+     for  branch  in  hasbranches .itervalues (recursive = True ):
33463344        if  branch .cache_key  in  branchid_interpretation :
33473345            entry_offsets  =  branch .entry_offsets 
33483346            start  =  entry_offsets [0 ]
0 commit comments