summaryrefslogtreecommitdiff
path: root/coverage/control.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2014-11-27 10:36:16 -0500
committerNed Batchelder <ned@nedbatchelder.com>2014-11-27 10:36:16 -0500
commit1fa418c6c1c33117308e3d94f18f8fc1a9193393 (patch)
tree3502c943b2a3da2c41a4b59faf002db94cf3f9ac /coverage/control.py
parenta8f8bb898ac35acd493524d470223319b2271f4a (diff)
downloadpython-coveragepy-git-1fa418c6c1c33117308e3d94f18f8fc1a9193393.tar.gz
Try out pylint spelling. Kinda noisy, but fixed some stuff.
Diffstat (limited to 'coverage/control.py')
-rw-r--r--coverage/control.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/coverage/control.py b/coverage/control.py
index 6aa06da8..c59424df 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -315,7 +315,7 @@ class Coverage(object):
If loaded via runpy (aka -m), we can usually recover the "original" full
dotted module name, otherwise, we resort to interpreting the filename to
get the module's name. In the case that the module name can't be
- deteremined, None is returned.
+ determined, None is returned.
"""
dunder_name = module_globals.get('__name__', None)
@@ -335,7 +335,7 @@ class Coverage(object):
# Module loaded via: runpy -m
return fullname
- # Script as first argument to Python CLI.
+ # Script as first argument to Python command line.
inspectedname = inspect.getmodulename(filename)
if inspectedname is not None:
return inspectedname
@@ -695,7 +695,7 @@ class Coverage(object):
if self.omit_match and self.omit_match.match(py_file):
# Turns out this file was omitted, so don't pull it back
- # in as unexecuted.
+ # in as un-executed.
continue
self.data.touch_file(py_file)
@@ -943,7 +943,7 @@ class FileDisposition(object):
def process_startup():
- """Call this at Python startup to perhaps measure coverage.
+ """Call this at Python start-up to perhaps measure coverage.
If the environment variable COVERAGE_PROCESS_START is defined, coverage
measurement is started. The value of the variable is the config file
@@ -970,5 +970,5 @@ def process_startup():
cov._warn_unimported_source = False
-# A hack for debugging testing in subprocesses.
+# A hack for debugging testing in sub-processes.
_TEST_NAME_FILE = "" #"/tmp/covtest.txt"