Commit Graph

166 Commits

Author SHA1 Message Date
D. Bohdan b4755ab7b6 fix(remarshal): do not close standard output 2023-07-19 03:31:38 +00:00
D. Bohdan 0284a54d78 docs(readme): place `2cbor` help first 2023-07-18 21:42:14 +00:00
D. Bohdan 56ddad2e9d feat(encode): preserve order by default; add `-s` 2023-07-18 21:40:09 +00:00
D. Bohdan b259420e1e feat(encode_yaml): add indent, width option
Add, recommend `--json-indent` for consistency.

v0.16.0
2023-07-18 21:18:48 +00:00
D. Bohdan c885a51850 docs(readme): rec pip with git for dev version
Current instructions are optimized for making your own modifications,
which most users don't need.
2023-07-14 10:57:29 +00:00
D. Bohdan 8aff3d309e docs(readme): fix typo in pipx command 2023-07-14 10:56:42 +00:00
D. Bohdan dce43fdf22 docs(readme): use `poetry version`; improve style 2023-07-14 10:35:44 +00:00
D. Bohdan 92e069cb07 build(pyproject): remove `homepage` as redundant 2023-07-14 09:35:54 +00:00
D. Bohdan 7aa6b61213 docs(readme): add pipx command 2023-07-14 09:34:50 +00:00
D. Bohdan 8e0cbf904b build(pyproject): add metadata 2023-07-13 20:30:43 +00:00
D. Bohdan e32f5506d2 build(version): bump version to 0.15.1 2023-07-13 20:06:26 +00:00
D. Bohdan 86cc2734a6 build(check): make executable 2023-07-12 07:45:33 +00:00
D. Bohdan 9428bc533f fix(mypy): ignore cbor2 2023-07-12 07:43:39 +00:00
D. Bohdan 547e9914d0 refactor(traverse): use `for`/`else` 2023-07-12 07:38:19 +00:00
D. Bohdan 8c87aaad1d docs(readme): update Python version requirement 2023-07-11 09:48:40 +00:00
D. Bohdan 42346fe9f9 docs(readme): do not use double space after period 2023-07-11 09:47:09 +00:00
D. Bohdan 981324bb63 ci(github/lint): run on all branches
Rename the workflow and job.
2023-07-09 08:05:04 +00:00
Christian Clauss 589594cf49 ci(github/lint): add lint action
Lint Python code with codespell and Ruff.
2023-07-09 07:55:30 +00:00
D. Bohdan d3fad5750c ci(appveyor): remove Python 3.7; add 3.11 2023-07-08 19:16:47 +00:00
Christian Clauss 9590ab2f57 refactor: apply pyupgrade fixes
Closes #43.
2023-07-08 19:08:33 +00:00
D. Bohdan c0e2d346bb docs: capitalize "Remarshal" 2023-07-08 17:28:49 +00:00
D. Bohdan fefd8d83c1 build(version): update to 0.15 2023-07-08 17:25:05 +00:00
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