# First, we need to import the module
from jupylint import Jupylint
# The most common use case within python is likely to be manually
# specifying the parameters to run the tool with.
# All three dictionary keys below are required, but there is an additional
# optional one "rcfile", which specifies the location of a pylintrc file
args = {
"in_file_name": ['./in.ipynb'],
"out_file_name": './jupylint_tmp_out.py',
"save_file": True
}
result = Jupylint.execute(args)
print(result)
# Additionally, if the settings are already present as keyword arguments,
# for example using `python - ./in.ipynb`, the tool can be run on those
# arguments using:
Jupylint.run()