0

I have added some linux shell scripts to the python app, and this scripts will be invoked on virtual machines on azure. Then I have checked a project with linter. For other reasons I do not add shebang line to shell scripts files. How to force pylint to ignore below error:

In ./.../install_dependencies.sh line 1:
# pylint: disable=SC2148
^-- SC2148: Tips depend on target shell and yours is unknown. Add a shebang.

1 Answers1

0

I am not very sure, but going through these previous questions can help:

How do I disable a Pylint warning?

Disable pylint message for a given module or directory

Akhil
  • 31
  • 6