Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
kalefranz committed Nov 8, 2017
1 parent f115cb7 commit 4d249fb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions conda/models/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,9 @@ def apply_ops(cstop):
# on the fact that if we _do_ see a string instead, its
# first character cannot possibly be equal to the operator.
r = r[1:] if r[0] == c else (r,)
l = output.pop()
l = l[1:] if l[0] == c else (l,)
output.append((c,)+l+r)
left = output.pop()
left = left[1:] if left[0] == c else (left,)
output.append((c,)+left+r)

for item in tokens:
item = item.strip()
Expand Down
6 changes: 3 additions & 3 deletions conda_env/cli/main_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@


def configure_parser(sub_parsers):
l = sub_parsers.add_parser(
list_parser = sub_parsers.add_parser(
'list',
formatter_class=RawDescriptionHelpFormatter,
description=description,
help=description,
epilog=example,
)

add_parser_json(l)
add_parser_json(list_parser)

l.set_defaults(func=execute)
list_parser.set_defaults(func=execute)


def execute(args, parser):
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ markers =

[pep8]
max-line-length = 99
ignore = E126,E133,E226,E241,E242,E302,E704,E731,W503
ignore = E126,E133,E226,E241,E242,E302,E704,E731,E722,W503
exclude = build/*,env/*,.tox/*,tests/*,ve/*,*/_vendor/*,conda/compat.py,conda/common/compat.py,conda_env/compat.py


[flake8]
max-line-length = 99
ignore = E126,E133,E226,E241,E242,E302,E704,E731,W503
ignore = E126,E133,E226,E241,E242,E302,E704,E731,E722,W503
exclude = build/*,env/*,.tox/*,tests/*,ve/*,*/_vendor/*,conda/compat.py,conda/common/compat.py,conda_env/compat.py


Expand Down

0 comments on commit 4d249fb

Please sign in to comment.