ActivityWatch / ActivityWatch/aw-core

Restructure config files

未关闭
#33 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
65
派生
72
平均合并
2 天 3 小时
30 天内合并 PR
5

描述

I think that a default config section title of `$appname` (as in the `{afk, window, spotify}` watchers currently) is a bad idea.

- [ ] Change to a proper default section.

We should also handle testing settings using configparsers override functionality (override some defaults when run in testing mode), not as it's own defaults.

- [ ] Testing modes should be an override of the default, not a different default.

I also want to add comments to the config files to make them easier to edit.

- [ ] [Add comments to the config files](https://stackoverflow.com/questions/6620637/writing-comments-to-files-with-configparser), making them friendlier to edit.

It would be nice to have some kind of argparse + configparser settings union to simplify overriding parameters using the commandline.

- [ ] (extra) Nice way to use argparse output as overrides.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。