Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

Enable different configuration locations #10

Open
gnn opened this issue Mar 10, 2016 · 0 comments
Open

Enable different configuration locations #10

gnn opened this issue Mar 10, 2016 · 0 comments
Assignees

Comments

@gnn
Copy link
Member

gnn commented Mar 10, 2016

Relying on the configuration file being in the home directory makes some things (e.g. behaviour on missing sections) difficult to test as it's impossible to know what's in the configuration file at test time. Being able to specify a differen't location (or something similar) would make testing things easier (and could have other benefits).
Fortunately there are a few ways of implementing this without breaking backwards compatibility:

  • implement a way to override configuration settings from within python code,
  • use a default (documented) set of locations to search for configuration files.
@gnn gnn self-assigned this Mar 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant