~cheid001/maus/SingleSationDistro

« back to all changes in this revision

Viewing changes to tests/style/test_python_style.py

merging with trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
        counting the number of lines in the pylint summary file. If this
170
170
        increases, throws an error.
171
171
        """
 
172
        here = os.getcwd()
 
173
        os.chdir(self.maus_root_dir)
172
174
        file_name = self.run_all_pylints()
173
175
        # just go by number of lines - bit of a hack but will do
174
176
        self.postprocess_error_file(file_name)
 
177
        os.chdir(here)
175
178
 
176
179
    # folders in maus_root_dir to look at
177
180
    include_dirs = ['doc', 'tests', 'src', 'bin', 'doc']