-
-
Notifications
You must be signed in to change notification settings - Fork 231
[MRG] Working towards python3 compatible codebase #442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
mr-c
merged 72 commits into
common-workflow-language:master
from
manu-chroma:unicode_literal_usage
Jul 9, 2017
Merged
Changes from all commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
e10b38a
setup.py: install schema_salad >= 3.0
manu-chroma 85710a6
tests: run modernize fixer
manu-chroma c3d5b94
cwltool: run modernize fixer
manu-chroma cd92d93
use urllib from six.moves for py3 compat
manu-chroma a733696
fix: minor: py3 compatibility wrt avro
manu-chroma 1213313
fix: pesky byte string comparision bug causing unit test to hang in p…
manu-chroma 307c758
cwltool/job.py: use io.IOBase rather than file class in isinstance()
manu-chroma c4b1084
test_relax_path_checks: open temp file with 'w' mode
manu-chroma 278b88b
test_toolargparse: open temp file in 'w' mode rather than 'w+b'
manu-chroma 255ccb1
update mypy package to 0.511
manu-chroma 381057e
typesheds/2.7: remove stub files which already come with mypy==0.511
manu-chroma 5cffdf8
update mistune stub file
manu-chroma 1d78137
Makefile: remove --fast-parser option. comes by default in mypy now
manu-chroma 336c22d
typeshed: minor import fix
manu-chroma 7829a08
mypy: add missing import statments from typing package
manu-chroma a4eb157
expression.py: use unicode in regex and fix minor type annotation
manu-chroma 1cf4edc
typesheds: re-organise
manu-chroma 52e3795
Makefile: update folders in MYPYPATH
manu-chroma 345beef
move shellescape stub files to typeshed/2and3
manu-chroma 0bbde24
cwltool: replace annotations unicode->Text
manu-chroma 45f17c1
use __future__ unicode_literals everywhere
manu-chroma 06a46c6
expression.py: use unicode in constucting regex strings and pass expl…
manu-chroma b9733c4
mypy: convert to unicode strings on return from urllib api
manu-chroma e652d94
docker.py: pass native py2 string as mode paramter to open()
manu-chroma 0ded86e
builder.py: use Text inplace of str type annotation
manu-chroma cdd53ad
main.py: use py3 compatible dict to list syntax, import unicode_literals
manu-chroma a39cb18
sandboxjs.py: encode and decode strings when dealing with BytesIO()
manu-chroma bbdd479
tests: add utf-8 encoding directive to all .py files
manu-chroma b3ee9fb
add mypy config file to silence ruamel package errors
manu-chroma 885149e
typshed/2.7: add urllib, urlparse typesheds with minor changes
manu-chroma 2342373
typesheds/rdflib: allow unicode strings to be passed
manu-chroma 4524816
typeshed/pkg_resources: use Text inplace of str
manu-chroma 135209e
tox.ini: better naming of mypy tests
manu-chroma deac875
.gitignore: update
manu-chroma 63cf519
add utf-8 encoding line to the top of the files
manu-chroma 6554940
add select.pyi stub fiile until next release of mypy and updated type…
manu-chroma 2bdc44b
draf2tool: use explicit binary content marking, decoding
manu-chroma 6da479c
update .gitignore
manu-chroma 9f1a051
docker.py: decode subprocess output to str in py3
manu-chroma de1e787
cwltool.py: use absolute imports
manu-chroma 5d35493
utils.py: add cmp_like_py2 and bytes2str_in_dicts function
manu-chroma d916579
cwltool: add utf-8 encoding directive on top of the module
manu-chroma bd2bec7
utils.py: fix typo, import Union type
manu-chroma fc8ffe5
builder.py: use avro-py2 for now
manu-chroma 1701fc8
expression.py: convert byte strings to unicode strings in rootvars dict
manu-chroma c940d9d
cwltool/process.py: misc improvements
manu-chroma 8c964c1
sandboxjs.py: decode strings to unicode before passing to json, fix t…
manu-chroma 9b33da2
makefile: fix paths for populating typeshed with schema_salad
manu-chroma 4bb7654
explicit conversion of urldfrag to unicode,to avoid mypy error
manu-chroma 2d68d8c
stdfsaccess.py: mypy: use Text in place of str
manu-chroma bafd7f9
Merge remote-tracking branch 'upstream/master' into unicode_literal_u…
manu-chroma 0abf187
fix linting errors
manu-chroma 0909a1e
more linting fixes
manu-chroma cb4a93e
tox.ini: cleanup and fix failing travis build
manu-chroma d395c1e
add future imports
manu-chroma cbd20ab
remove unicode_literals import from entire codebase
manu-chroma 932464d
expression.py: type annotations improvements
manu-chroma bb5f105
Merge remote-tracking branch 'upstream/master' into unicode_literal_u…
manu-chroma 1255619
cwltool: misc improvements in type annotations and six lib integration
manu-chroma df59833
tests: remove unicode_literals import statement
manu-chroma d4d42aa
misc type improvements for mypy3
manu-chroma c191642
type annotation: mypy2: make build_job_script callable return str
manu-chroma 76b017e
Merge branch 'master' into unicode_literal_usage
mr-c c51e2ef
drop encoding utf-8 directive from the file beginning
manu-chroma 9f964a8
Merge branch 'unicode_literal_usage' of github.com:manu-chroma/cwltoo…
manu-chroma aec5bb5
Merge remote-tracking branch 'upstream/master' into unicode_literal_u…
manu-chroma 03ebaea
minor fix in galaxy typesheds
manu-chroma 550c8f2
job.py: pass bytes to f.write()
manu-chroma 7f776fa
cwltool/software_requirements.py: add future absolute import
manu-chroma e9c9cef
add absolute import from __future__
manu-chroma fd2eff0
cwltool: use _logger.warning
manu-chroma a6bb3f9
Merge branch 'master' into unicode_literal_usage
manu-chroma File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
from __future__ import absolute_import | ||
__author__ = '[email protected]' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from __future__ import absolute_import | ||
import sys | ||
|
||
from . import main | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from __future__ import absolute_import | ||
from typing import IO, Any, Dict, Text | ||
|
||
from rdflib import Graph | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
commented out python3 lines until futher resolution of avro issue.