MCPcopy
hub / github.com/cool-RR/PySnooper / read_file

Function read_file

setup.py:7–9  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

5
6
7def read_file(filename):
8 with open(filename) as file:
9 return file.read()
10
11version = re.search("__version__ = '([0-9.]*)'",
12 read_file('pysnooper/__init__.py')).group(1)

Callers 1

setup.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected