mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
[Fix] removed unnecessary lines that raised the flake8 error code F824
This commit is contained in:
parent
6ed6ce6113
commit
e7402e4d1e
1 changed files with 0 additions and 5 deletions
|
@ -567,7 +567,6 @@ def _ol_from_dict(ind, reps='DICTOBS'):
|
|||
counter = 0
|
||||
|
||||
def dict_replace_obs(d):
|
||||
nonlocal ol
|
||||
nonlocal counter
|
||||
x = {}
|
||||
for k, v in d.items():
|
||||
|
@ -588,7 +587,6 @@ def _ol_from_dict(ind, reps='DICTOBS'):
|
|||
return x
|
||||
|
||||
def list_replace_obs(li):
|
||||
nonlocal ol
|
||||
nonlocal counter
|
||||
x = []
|
||||
for e in li:
|
||||
|
@ -609,7 +607,6 @@ def _ol_from_dict(ind, reps='DICTOBS'):
|
|||
return x
|
||||
|
||||
def obslist_replace_obs(li):
|
||||
nonlocal ol
|
||||
nonlocal counter
|
||||
il = []
|
||||
for e in li:
|
||||
|
@ -690,7 +687,6 @@ def _od_from_list_and_dict(ol, ind, reps='DICTOBS'):
|
|||
|
||||
def dict_replace_string(d):
|
||||
nonlocal counter
|
||||
nonlocal ol
|
||||
x = {}
|
||||
for k, v in d.items():
|
||||
if isinstance(v, dict):
|
||||
|
@ -706,7 +702,6 @@ def _od_from_list_and_dict(ol, ind, reps='DICTOBS'):
|
|||
|
||||
def list_replace_string(li):
|
||||
nonlocal counter
|
||||
nonlocal ol
|
||||
x = []
|
||||
for e in li:
|
||||
if isinstance(e, list):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue