Skip to content

Commit

Permalink
ignore type annotation errors in flake8; add cph to local recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
msarahan committed Apr 17, 2019
1 parent be34fea commit 16746ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions conda/models/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ def __lt__(self, other):
# str < int
return True
elif isinstance(c2, string_types):
# not (int < str)
return False
# not (int < str)
return False
# c1 and c2 have the same type
return c1 < c2
# self == other
Expand Down
1 change: 1 addition & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ requirements:
- setuptools >=31.0.1
run:
- python
- conda-package-handling
- enum34 # [py<34]
- futures >=3.0.0 # [py<34]
- menuinst >=1.4.11,<2 # [win]
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ exclude = build/*,.tox/*,devenv*/*,env/*,test_data/*,tests/*,ve/*,utils/*,*/_ven

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


Expand Down

0 comments on commit 16746ea

Please sign in to comment.