mirror of
ssh://devgit.janware.com/janware/proj/jw-python
synced 2026-06-18 12:26:38 +02:00
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e688cd2364 | |||
| 7399388f60 | |||
| bee3e28ff5 | |||
| 8c0b975e1b | |||
| 84a4053157 |
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| e688cd2364 |
Config: Support refuse_mode_mask
refuse_mode_mask can be passed to the constructor and determines which permission bits need to be absent from config file modes if they smell like they contain secrets. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 7399388f60 |
Fix errors reported by mypy
Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| bee3e28ff5 |
Config: Accept strings as value for glob_paths
Make Config's ctor accept strings as values for glob_paths, as opposed to lists. This covers the canonical case of one configuration file being passed. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 8c0b975e1b |
Config: Mutually exclude loading from tree or files
Initializing Config from a StringTree object doesn't stop it from looking for config files to read. Stop that. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 84a4053157 |
Add class Config
Signed-off-by: Jan Lindemann <jan@janware.com> |