hack_args
- static Flake8NbApplication.hack_args(args: list[str], exclude: list[str]) list[str] [source]
Update args with
*.ipynb
files.Checks the passed args if
*.ipynb
can be found and appends intermediate parsed files to the list of files, which should be checked.- Parameters:
args (list[str]) – List of commandline arguments provided to
flake8_nb
exclude (list[str]) – File-/Folderpatterns that should be excluded
- Returns:
The original args + intermediate parsed
*.ipynb
files.- Return type:
list[str]