Commit Graph

13 Commits

Author SHA1 Message Date
Min RK 0175db5d2a
address upcoming UP031 lint 2024-08-20 13:40:19 +02:00
Min RK ca09e16925
use future annotations, fix docstring lint
can use it now that we require Python 3.7
2024-02-29 12:45:06 +01:00
Min RK 0c2772c320 deprecate utils.strtypes
let flake8 check F401, and fix some unused imports
2022-03-03 15:05:08 +01:00
pre-commit-ci[bot] 9534ce051c [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-01-31 17:07:53 +00:00
Min RK 7c024bad0a run pre-commit (isort, pyupgrade) 2021-12-07 14:44:16 +01:00
Min RK 97062eca76 remove various unreachable py2 conditions 2020-11-27 11:48:07 +01:00
Min RK 4d9d025725 add mypy stubs
since this is a big change, take the opportunity to apply black, linters to code base
2020-11-25 15:16:34 +01:00
Sekenre 15af7b16dc Encode now accepts an ASCII string
This is based on base64.b64decode() behaviour from upstream Python 3.4
2016-03-04 17:26:59 +00:00
Sekenre 1652e36ac2 Raise TypeError instead of encoding 2016-03-04 11:10:14 +00:00
Sekenre 978128bad6 Handle string input to z85 2016-03-03 18:38:15 +00:00
MinRK 01b4dc9c75 update copyright and headers 2014-06-10 14:33:25 -07:00
MinRK 8d2a38440d Python 3 compatibility in z85
because a single item in a byte string is cast to an integer, obviously!
2013-08-27 15:57:23 -07:00
MinRK 242709b4ef add z85 implementation 2013-08-27 11:36:31 -07:00