(repl: PythonRepl)
| 200 | |
| 201 | # Apply config file |
| 202 | def configure(repl: PythonRepl) -> None: |
| 203 | if os.path.exists(config_file): |
| 204 | run_config(repl, config_file) |
| 205 | |
| 206 | # Adjust colors if dark/light background flag has been given. |
| 207 | if a.light_bg: |
| 208 | repl.min_brightness = 0.0 |
| 209 | repl.max_brightness = 0.60 |
| 210 | elif a.dark_bg: |
| 211 | repl.min_brightness = 0.60 |
| 212 | repl.max_brightness = 1.0 |
| 213 | |
| 214 | import __main__ |
| 215 |
no test coverage detected