Passed
Push — master ( 9e42ed...b2d36d )
by Jaisen
02:09
created

elodie/plugins/runtimeerror/runtimeerror.py (2 issues)

Check for undefined variables.

Best Practice Comprehensibility Minor
1
"""
2
RuntimeError plugin object used for tests.
3
4
.. moduleauthor:: Jaisen Mathai <[email protected]>
5
"""
6
from __future__ import print_function
7
8
from elodie.plugins.plugins import PluginBase
9
10
class RuntimeError(PluginBase):
11
12
    __name__ = 'ThrowError'
13
14
    """A dummy class to execute plugin actions for tests."""
15
    def __init__(self):
16
        pass
17
18
    def after(self, file_path, destination_folder, final_file_path, metadata):
19
        print(does_not_exist)
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable does_not_exist does not seem to be defined.
Loading history...
20
21
    def batch(self):
22
        print(does_not_exist)
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable does_not_exist does not seem to be defined.
Loading history...
23
24
    def before(self, file_path, destination_folder):
25
        print(does_not_exist)
26