Commit Graph

65 Commits (848582df0e58d53176bb545f21799afe5ff76d9b)

Author SHA1 Message Date
mattsb42-aws 848582df0e add PyCharm venv dir to gitignore 2018-11-02 13:07:38 -07:00
Erik Cederstrand 9559dde75d Support string input streams (#22)
* Support string buffer input as well as bytes. Fixes #21

* Fix type annotation

* Reduce code duplication

* Add missing import

* Just encode the string - no need to encode chars one at a time

* Add type hint for _data_buffer in attempt to fix mypy test

* Fix mypy test for py3

* Ignore mypy false positives on py2

* Fix tests on py2?
2018-11-02 13:04:50 -07:00
lizroth 53de2b6cb6 Add VERSIONING.rst. (#20) 2018-08-24 15:16:13 -07:00
Matt Bullock 95c7b07693
add tox version pinning for Python 3.3 in Travis (#19) 2018-08-14 10:46:52 -07:00
Matt Bullock 1e7fb0b822
Merge pull request #18 from mattsb42-aws/36to3
fix hard dependency on 3.6 in tox
2018-08-01 18:07:18 -07:00
mattsb42-aws f25373592f remove hard requirement on 3.6 in favor of general 3 2018-08-01 16:52:29 -07:00
mattsb42-aws a691d0172f update gitignore to play well with PyCharm 2018-08-01 16:52:04 -07:00
lizroth b0b67356f0
Merge pull request #17 from lizroth/repo_move
Move repository from awslabs to aws.
2018-08-01 15:25:36 -07:00
lizroth e70c91ea0f Update version and changelog for repo move. 2018-08-01 13:45:27 -07:00
lizroth a1e334c6b1 Updates for awslabs resources moving to aws. 2018-08-01 13:43:03 -07:00
Matt Bullock 6a5ee5433e
Merge pull request #16 from mattsb42-aws/pylint
Fixing issues raised by Pylint 2.0 release
2018-07-16 16:42:33 -07:00
mattsb42-aws a780e42267 add clarifying notes around test_base64io.test_file 2018-07-16 16:26:00 -07:00
Matt Bullock 33872f7c71
removing manual "hypothesis" test mark per https://github.com/HypothesisWorks/hypothesis/issues/1362 (#15) 2018-07-16 15:22:43 -07:00
mattsb42-aws 90adcd5a0f add tests for Python 2/3 helpers 2018-07-16 15:20:44 -07:00
mattsb42-aws e6ca4fdb70 fix copy-paste naming 2018-07-16 15:19:43 -07:00
mattsb42-aws 0ea5b1d69f rework readlines hint check for better clarity 2018-07-16 15:19:19 -07:00
mattsb42-aws 779e29a350 simplify chained comparison 2018-07-16 14:22:41 -07:00
mattsb42-aws 55501a4625 work around Python 3 handling of undefined "file" object needed for proper Python 2 behavior 2018-07-16 14:22:41 -07:00
Matt Bullock e09e8985aa
prune unnecessary files from source build (#13) 2018-06-19 16:20:07 -07:00
Matt Bullock c546a3c275
Merge pull request #11 from mattsb42-aws/blacken-docs
Blacken docs
2018-06-18 15:01:35 -07:00
Matt Bullock 24d3dd139d
enable Travis CI on Python 3.3 with Travis install fix https://github.com/awslabs/base64io-python/issues/4 (#10) 2018-06-18 14:50:55 -07:00
mattsb42-aws 24ac0cb8fa blacken docs 2018-06-18 14:34:51 -07:00
mattsb42-aws 89bf15cf3c add blacken-docs testenv and make blacken run both source and docs blackening 2018-06-18 14:34:20 -07:00
lizroth 81ae76cb99
Merge pull request #9 from mattsb42-aws/badges-and-version
CI/Black badges and version 1.0.1
2018-06-11 18:47:02 -07:00
mattsb42-aws 6174fb7e6b version 1.0.1 bump 2018-06-11 18:23:33 -07:00
mattsb42-aws 823c1edf37 Warehouse prefers the listed URL to be the GitHub repo 2018-06-11 18:23:08 -07:00
mattsb42-aws 661dcd78fe add CI and Black badges 2018-06-11 18:22:32 -07:00
Matt Bullock e25539c3d7
Merge pull request #6 from mattsb42-aws/mypy
Fix issues identified by mypy.
2018-06-11 17:45:16 -07:00
mattsb42-aws dc40c3f12c adding negative, none -1 general single-shot test case 2018-06-11 17:35:23 -07:00
Matt Bullock c3a41c5020
Merge pull request #8 from mattsb42-aws/black
Blacken!
2018-06-11 17:28:20 -07:00
Matt Bullock 646b6f52f0
Merge pull request #7 from mattsb42-aws/ci
CI config fixes
2018-06-11 17:27:45 -07:00
mattsb42-aws 17ea873212 blacken 2018-06-07 12:33:11 -07:00
mattsb42-aws 05830a966c add black testenvs, CI stage, and contributing requirement 2018-06-07 12:33:11 -07:00
mattsb42-aws f2252f1826 add black-check testenv 2018-06-07 12:33:11 -07:00
mattsb42-aws eac513f954 disable Python 2.6 tests in AppVeyor pending https://github.com/awslabs/base64io-python/issues/5 2018-06-07 12:32:49 -07:00
mattsb42-aws 510d8b7fc2 calling pip directly in appveyor should work since we update PATH 2018-06-07 12:32:49 -07:00
mattsb42-aws ab24d2cb85 disable Python 3.3 tests in Travis CI pending https://github.com/awslabs/base64io-python/issues/4 2018-06-07 12:32:49 -07:00
mattsb42-aws 72e7087e30 fix travis 3.7 python name 2018-06-07 12:32:49 -07:00
mattsb42-aws 6d6ecd3a34 appveyor does not yet have 3.7 2018-06-07 12:32:49 -07:00
mattsb42-aws 3f39ca3bb2 __exit__ should return False to correctly not swallow exceptions https://www.python.org/dev/peps/pep-0343/#specification-the-with-statement 2018-06-05 16:42:10 -07:00
mattsb42-aws 6739e2da5f read() should accept and pass on only ints: we will still accept None but will normalize it and pass it on. Also, read(0) should actually return 0 bytes 2018-06-05 16:42:10 -07:00
mattsb42-aws 03d5cc2be8 fix mypy signatures 2018-06-05 16:42:10 -07:00
David Koenig b614e0cd4c
Merge pull request #3 from mattsb42-aws/clean
Minor cleanup
2018-05-16 09:37:23 -07:00
mattsb42-aws 9ca0871976 clean up import formatting in test 2018-05-16 09:02:43 -07:00
mattsb42-aws ea7902d60c clean up trailing whitespace in readme 2018-05-16 08:59:16 -07:00
Matt Bullock 7cf523084f
Merge pull request #2 from juneb/readme
Quick edit of the new readme
2018-05-16 08:34:51 -07:00
June Blender a033d1de60 Revised per comments, incl. capitalizing Base64 2018-05-15 14:21:08 -07:00
June Blender 07b01311b6 Edit 2018-04-12 12:40:10 -07:00
Matt Bullock ae3dc25c60
Merge pull request #1 from mattsb42-aws/dev
Initial port
2018-04-12 10:36:50 -07:00
mattsb42-aws 976fd1e79e * add read sizes of 6 and 7 to build_test_cases
* add partial encode tests
2018-03-26 19:13:52 -07:00