Is a Config key a section name (does it start with a capital)?
(key: str)
| 217 | |
| 218 | |
| 219 | def _is_section_key(key: str) -> bool: |
| 220 | """Is a Config key a section name (does it start with a capital)?""" |
| 221 | return bool(key and key[0].upper() == key[0] and not key.startswith("_")) |
| 222 | |
| 223 | |
| 224 | class Config(dict): # type:ignore[type-arg] |
no outgoing calls
no test coverage detected
searching dependent graphs…