Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use JSON for labels/classes files #136

Open
widdowquinn opened this issue Jun 21, 2019 · 2 comments
Open

Use JSON for labels/classes files #136

widdowquinn opened this issue Jun 21, 2019 · 2 comments
Assignees
Labels
enhancement something we'd like pyani to do that it doesn't already interface issues related to how the user tells pyani to do something
Milestone

Comments

@widdowquinn
Copy link
Owner

The ad hoc tab-separated text format for label/class files works, but JSON may be more exchangeable and enhancement-friendly.

@widdowquinn widdowquinn added the enhancement something we'd like pyani to do that it doesn't already label Jun 21, 2019
@widdowquinn widdowquinn self-assigned this Jun 21, 2019
@widdowquinn widdowquinn added this to the 0.3.1 milestone May 29, 2020
@widdowquinn widdowquinn added the interface issues related to how the user tells pyani to do something label May 29, 2020
@baileythegreen
Copy link
Contributor

@widdowquinn Can you elaborate, or say whether you still think this should be a goal?

@widdowquinn
Copy link
Owner Author

widdowquinn commented Apr 29, 2022

It is still a goal.

I would like us to move away from the restrictive, ad hoc current format of these files, to a more widely-used, readily-parsed format. There are several choices for a suitable format including JSON, YAML, TOML, and so on. We could prioritise something with a standard library parser in Python to minimise extra dependencies. It would be wise to choose something that we could extend, maybe to accommodate an array of labels, or other fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement something we'd like pyani to do that it doesn't already interface issues related to how the user tells pyani to do something
Projects
None yet
Development

No branches or pull requests

2 participants