Tomas Korbar
8a8f30679d
Fix problems with CHEATCOLORS behaviour
2019-01-17 17:10:01 +01:00
Tomas Korbar
4d19505b79
Conform code to pep8
2019-01-15 19:38:24 +01:00
Tomas Korbar
a2e028fd19
Move validation of CHEAT_HIGHLIGHT value to Configuration class
...
Method _check_configuration should be used for validating all bad
values from now on
2019-01-15 19:21:33 +01:00
Tomas Korbar
5eec6bf040
Improve handling of settings
...
Constructors of classes which need direct access to configuration
now take Config class instance as parameter which will give them
better maintainability in the future
CHEAT_HIGHLIGHT has been added to Configuration class
2019-01-15 19:13:30 +01:00
Tomas Korbar
3a4c2a887d
Add ConfigurationTestCase
...
- tests prove descending hiearchy of config system
- env vars, local config file, global config file
2019-01-15 17:09:39 +01:00
Tomas Korbar
879a58b721
Read env vars for global and local config path
...
- allows to change these paths for testing purposes and also
gives user option to change his config paths
2019-01-15 17:09:39 +01:00