[galaxyproject/galaxy] a1bedf: Lint doctests
Branch: refs/heads/dev Home: https://github.com/galaxyproject/galaxy Commit: a1bedf4be8835f84a14df9cc5e1231dd585302d5 https://github.com/galaxyproject/galaxy/commit/a1bedf4be8835f84a14df9cc5e123... Author: Nicola Soranzo <nicola.soranzo@earlham.ac.uk> Date: 2018-07-02 (Mon, 02 Jul 2018) Changed paths: M lib/galaxy/datatypes/binary.py Log Message: ----------- Lint doctests Commit: 256d901df20e6703094cf98f693b19ff79384c3e https://github.com/galaxyproject/galaxy/commit/256d901df20e6703094cf98f693b1... Author: Nicola Soranzo <nicola.soranzo@earlham.ac.uk> Date: 2018-07-02 (Mon, 02 Jul 2018) Changed paths: M lib/galaxy/util/checkers.py Log Message: ----------- Use `with` statement Commit: c03dd53520a4b581af208c1e592ea135a4340016 https://github.com/galaxyproject/galaxy/commit/c03dd53520a4b581af208c1e592ea... Author: Nicola Soranzo <nicola.soranzo@earlham.ac.uk> Date: 2018-07-02 (Mon, 02 Jul 2018) Changed paths: M lib/galaxy/util/__init__.py Log Message: ----------- Correctly handle `bytearray`s in `smart_str()` Also: - Use `assert` in doctests - Speed up `unicodify()` on Unicode strings Commit: 7195c224321b0826a9b2297166ea6fa6ce1de007 https://github.com/galaxyproject/galaxy/commit/7195c224321b0826a9b2297166ea6... Author: Nicola Soranzo <nicola.soranzo@earlham.ac.uk> Date: 2018-07-03 (Tue, 03 Jul 2018) Changed paths: M lib/galaxy/datatypes/sniff.py Log Message: ----------- Encode chunk before comparing with gzip_magic Since commit 8d8299a19315aef2f2daef278a5e8d8c47da63bb , `text_type(util.gzip_magic)` generates the following exception: ``` UnicodeDecodeError: 'ascii' codec can't decode byte 0x8b in position 1: ordinal not in range(128) ``` Commit: 82028d95d0d58532821816d526e2b932ea8ee5ec https://github.com/galaxyproject/galaxy/commit/82028d95d0d58532821816d526e2b... Author: Nicola Soranzo <nicola.soranzo@earlham.ac.uk> Date: 2018-07-03 (Tue, 03 Jul 2018) Changed paths: M lib/galaxy/datatypes/sniff.py Log Message: ----------- Remove needless check The `filename` file is the destination file and is always empty at this point. Introduced in commit 85ea42b79dcfc30622a55f1b9fc507bc822ae325 . Commit: 64c591a6069c43067ad1871dca06cc3c5a581903 https://github.com/galaxyproject/galaxy/commit/64c591a6069c43067ad1871dca06c... Author: Nicola Soranzo <nicola.soranzo@earlham.ac.uk> Date: 2018-07-03 (Tue, 03 Jul 2018) Changed paths: M test/unit/tools/test_tool_deps.py Log Message: ----------- More proper fix for some test_tool_deps.py unit tests Follow up to https://github.com/galaxyproject/galaxy/pull/6436/files#r199368686 Commit: f65c77d385303703d1cfcd47140f84d56fadec2b https://github.com/galaxyproject/galaxy/commit/f65c77d385303703d1cfcd47140f8... Author: Björn Grüning <bjoern@gruenings.eu> Date: 2018-07-03 (Tue, 03 Jul 2018) Changed paths: M lib/galaxy/datatypes/binary.py M lib/galaxy/datatypes/sniff.py M lib/galaxy/util/__init__.py M lib/galaxy/util/checkers.py M test/unit/tools/test_tool_deps.py Log Message: ----------- Merge pull request #6455 from nsoranzo/python3 Various Python 3 fixes Compare: https://github.com/galaxyproject/galaxy/compare/59cc94256ca0...f65c77d38530 **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
participants (1)
-
GitHub