Commit Graph

20 Commits

Author SHA1 Message Date
D. Bohdan f0e9add739 feat!(cli): add `-k`/`--stringify-keys` flag
BREAKING CHANGE: make it no longer the default to stringify keys when
converting to JSON. This is being done to avoid silent incorrect
conversions and to turn them into errors. For example, GitHub Actions
workflows with an `on` YAML key are currently converted incorrectly.

Support stringifying keys for TOML.

v0.17.0
2023-08-09 21:45:51 +00:00
D. Bohdan a595cbe760 build(tox/type): switch to Pyright
Upgrade TOML Kit.
2023-08-01 18:31:05 +00:00
D. Bohdan b09b1755e1 ci(github/lint): lint with tox environment `lint` 2023-07-28 17:52:06 +00:00
D. Bohdan 6f561d4f16 build(version): bump version to 0.16.1 2023-07-22 22:11:26 +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 92e069cb07 build(pyproject): remove `homepage` as redundant 2023-07-14 09:35:54 +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
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 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 6d6085b2de build: add Black, mypy, Ruff dev dep, `check.sh` 2023-07-08 17:20:15 +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
D. Bohdan 61d57795d9 refactor: drop Python 2.7, Python 3.5 2020-09-15 08:58:39 +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 be3c6fc9be build(tests): migrate to pytest 2020-06-02 20:23:37 +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