File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 11"""Coverage Config reload Plugin"""
22import sys
33
4+ __version__ = '0.2.0'
5+
6+
47def 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+
1418def 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+
2328def coverage_init (reg , options ):
2429 config = get_coverage_config ()
2530 read_config_files (config )
Original file line number Diff line number Diff line change 2020
2121setup (
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' ,
You can’t perform that action at this time.
0 commit comments