Skip to content

Commit 2abc0b1

Browse files
committed
Release 0.2.0
1 parent f6350f9 commit 2abc0b1

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

coverage_config_reload_plugin.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
"""Coverage Config reload Plugin"""
22
import sys
33

4+
__version__ = '0.2.0'
5+
6+
47
def get_coverage_config():
58
"""Get coverage config from stack."""
69
# Stack
@@ -11,6 +14,7 @@ def get_coverage_config():
1114
config = frame.f_locals['config']
1215
return config
1316

17+
1418
def read_config_files(config):
1519
config_filenames = config.config_files[:]
1620
for filename in config_filenames:
@@ -20,6 +24,7 @@ def read_config_files(config):
2024
# restore original as from_file appends to the config_files list
2125
config.config_files = config_filenames
2226

27+
2328
def coverage_init(reg, options):
2429
config = get_coverage_config()
2530
read_config_files(config)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
setup(
2222
name='coverage_config_reload_plugin',
23-
version='0.1',
23+
version='0.2.0',
2424
description='coverage.py config reload plugin',
2525
author='John Vandenberg',
2626
author_email='jayvdb@gmail.com',

0 commit comments

Comments
 (0)