Commit Graph

144 Commits

Author SHA1 Message Date
D. Bohdan 434d8b2bd5 refactor: apply Ruff, mypy fixes; reformat 2023-07-08 17:23:43 +00:00
D. Bohdan 6d6085b2de build: add Black, mypy, Ruff dev dep, `check.sh` 2023-07-08 17:20:15 +00:00
D. Bohdan b9c0d0ef81 ci(github): add 2023-07-08 16:50:38 +00:00
D. Bohdan a548bac30a ci(travis): remove 2023-07-08 16:35:40 +00:00
D. Bohdan 7e9d90c986 fix(encode_json): handle bool, null YAML keys
Fixes #38.
2023-07-08 16:34:37 +00:00
D. Bohdan 6606898c00 refactor(decode): remove argument `ordered`
We only support Python versions where the built-in dictionary preserves
insertion order.
2023-07-08 15:59:53 +00:00
D. Bohdan ca0ab3bc1f docs: update copyright 2023-07-08 15:27:46 +00:00
D. Bohdan aea3291ac9 build(deps): upgrade deps
Closes #35.
2023-07-08 15:20:54 +00:00
D. Bohdan d809142e72 build(deps): require Python ^3.8 2023-07-08 15:13:19 +00:00
Branch Vincent 6808fc16f0 build(poetry): use lighter `poetry-core` 2023-07-08 15:06:11 +00:00
Christian Clauss 4004f43a37 ci(appveyor): use Visual Studio 2022 image 2023-07-08 14:54:39 +00:00
Christian Clauss 531299e847 ci(appveyor): test on current versions of Python
https://devguide.python.org/#status-of-python-branches
2023-07-08 14:54:23 +00:00
D. Bohdan 1a208578b7 docs(readme): reword note on date/time limitations 2020-10-21 11:40:11 +00:00
D. Bohdan 95c2142406 docs(readme): fix, expand info on date limitations 2020-10-21 11:37:41 +00:00
D. Bohdan 7c782a7bf2 refactor(decode_toml): do not handle Null
It is a TOML Kit class for internal use that we should never
encounter.
2020-09-20 08:53:05 +00:00
D. Bohdan f951875f33 refactor: remove code for Python 2 2020-09-15 09:49:54 +00:00
D. Bohdan ab727c2cf4 docs(readme): simplify phrase in "Wrappers" 2020-09-15 09:30:38 +00:00
D. Bohdan cc88c5c79e docs(readme): update known limitations 2020-09-15 09:27:46 +00:00
D. Bohdan 5b631d5e14 fix(toml): catch TOML binary data encoding error 2020-09-15 09:11:24 +00:00
D. Bohdan 5e477a5db2 fix(yaml): catch YAML encoder errors 2020-09-15 09:11:09 +00:00
D. Bohdan 5d74867975 ci(travis): add Python 3.9 2020-09-15 09:11:09 +00:00
D. Bohdan 61d57795d9 refactor: drop Python 2.7, Python 3.5 2020-09-15 08:58:39 +00:00
D. Bohdan 778057b519 docs(readme): remove CI badges
With the build status indicator on GitHub they are redundant.
2020-09-15 08:58:28 +00:00
D. Bohdan b17e963565 build(gitattributes): add .gitattributes 2020-09-15 08:38:29 +00:00
D. Bohdan 2cd1bfcace feat(toml): support TOML 1.0.0-rc1
Switch from pytoml to TOML Kit.
2020-09-15 08:36:40 +00:00
D. Bohdan f70d112bf5 refactor(tests): replace camelCase w/ snake_case
Remove the unused function transformDateToIso().
2020-07-30 09:21:47 +00:00
D. Bohdan 9ff68f3fc0 refactor: move traverse() to tests 2020-07-30 09:15:31 +00:00
D. Bohdan bf03a22ae8 docs(readme/wrappers): mention CBOR in section 2020-06-02 20:58:29 +00:00
D. Bohdan 5528389120 build: remove MANIFEST.in 2020-06-02 20:53:56 +00:00
D. Bohdan f9cba66161 build(poetry): add poetry.lock 2020-06-02 20:52:57 +00:00
D. Bohdan dea4f2d871 ci(travis): enable Python 3.8 2020-06-02 20:43:20 +00:00
D. Bohdan 7bd77e2ec7 build: remove requirements.txt 2020-06-02 20:41:41 +00:00
D. Bohdan db99504a0c docs(readme): upd dev version install instructions 2020-06-02 20:39:00 +00:00
D. Bohdan 62333dcaad ci(travis): temp disable Python 3.8 due to SIGSEGV 2020-06-02 20:27:07 +00:00
D. Bohdan be3c6fc9be build(tests): migrate to pytest 2020-06-02 20:23:37 +00:00
D. Bohdan 9e1cde34c9 fix(cbor): catch correct exception 2020-06-02 20:03:25 +00:00
D. Bohdan 52c25319e0 build(deps): update dependencies 2020-06-02 20:03:19 +00:00
D. Bohdan 91e2420735 build: migrate to Poetry
v0.13.0
2020-06-02 20:03:15 +00:00
D. Bohdan ef6f61adda fix(cli): put CBOR before JSON 2020-03-13 19:45:50 +00:00
D. Bohdan 901d066ea9 chore(*): bump version to 0.12.0 2020-03-13 16:56:11 +00:00
D. Bohdan 84b24f6f61 ci(travis): add Python 3.8 2020-03-13 16:54:35 +00:00
D. Bohdan 233a89be7a ci(appveyor): drop Python 3.5 and add 3.8 2020-03-13 16:54:30 +00:00
Felipe Gasper 79437388f0 test(cbor): skip json2cbor in Python 2 2020-03-13 16:44:58 +00:00
Felipe Gasper c090a71724 docs(readme): list CBOR before JSON 2020-03-13 16:44:26 +00:00
Felipe Gasper 9638e82981 test(cbor): restore Python 2 compat
List CBOR before JSON and the others in the docs.
2020-03-13 16:42:50 +00:00
Felipe Gasper 688b47a106 build(reqs): switch to cbor2 2020-03-13 16:42:14 +00:00
Felipe Gasper 9789af5f89 test(cbor): add another test
Update the README.
2020-03-13 16:41:20 +00:00
Felipe Gasper 78382e13a8 feat(cbor): switch to cbor2; add tests 2020-03-13 16:41:09 +00:00
Felipe Gasper 4c63f4a852 feat(cbor): start work on CBOR 2020-03-13 16:40:54 +00:00
D. Bohdan ada67f2f97 docs: update copyright 2020-03-11 08:00:37 +00:00