Skip to content

Programmatically update config.yaml #72

@ddundo

Description

@ddundo

It looks like there is currently no way to update config.yaml that isn't manual; i.e., we have to open config.yaml with a text editor and update it that way. This can easily lead to errors (as it did in #58) and prevents automating tasks (e.g., I cannot add advanced_test_tw.ipynb to tests in #63).

I think we should:

  • Add a pygem.setup.config.update_config function to do this
  • Add checks that keys in config.yaml are correct (i.e., that there is not a typo) and that their values have expected type.

And while addressing this I think the whole config module should be rewritten in an object-oriented way.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions