Skip to content

Commit

Permalink
more flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
keurfonluu committed Feb 29, 2020
1 parent 37bf4cf commit 0fe425f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions meshio/tecplot/_tecplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def read_buffer(f):
def _read_variables(line):
# Gather variables in a list
line = line.split("=")[1]
line = [l for l in line.replace(",", " ").split()]
line = [x for x in line.replace(",", " ").split()]
variables = []

i = 0
Expand Down Expand Up @@ -207,7 +207,7 @@ def _read_zone(line, variables):
line = line[:ivar] + line[i2 + 1 :]

# Split remaining key/value pairs separated by '='
line = [l for l in line.replace(",", " ").split() if l != "="]
line = [x for x in line.replace(",", " ").split() if x != "="]
i = 0
while i < len(line) - 1:
if "=" in line[i]:
Expand Down
1 change: 0 additions & 1 deletion test/test_tecplot.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import os
import sys
from copy import deepcopy

import numpy
Expand Down

0 comments on commit 0fe425f

Please sign in to comment.