(file_name)
| 155 | |
| 156 | |
| 157 | def load_json(file_name): |
| 158 | if not os.path.exists(file_name): |
| 159 | return None |
| 160 | with open(file_name, encoding="utf-8") as f: |
| 161 | return json.load(f) |
| 162 | |
| 163 | |
| 164 | # it's dirty to type, so it's a good way to have fun |
nothing calls this directly
no outgoing calls
no test coverage detected