Loading template/__init__.py +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ import template.filters # I ignore import errors here and fail on them later in the main function so # the module can be imported by the setup.py with jinja missing so the # docstring can be used as the package description. try: try: # nosemgrep: rules.bandit.B110 from jinja2 import Environment except ImportError: pass Loading template/filters.py +1 −1 Original line number Diff line number Diff line Loading @@ -162,7 +162,7 @@ def run(*argv, **kwargs): if sys.version_info[0] < 3: # nosec import subprocess32 as subprocess else: import subprocess import subprocess # nosemgrep: rules.bandit.B40 defaults = {"stdout": subprocess.PIPE, "stderr": subprocess.PIPE} defaults.update(kwargs) Loading Loading
template/__init__.py +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ import template.filters # I ignore import errors here and fail on them later in the main function so # the module can be imported by the setup.py with jinja missing so the # docstring can be used as the package description. try: try: # nosemgrep: rules.bandit.B110 from jinja2 import Environment except ImportError: pass Loading
template/filters.py +1 −1 Original line number Diff line number Diff line Loading @@ -162,7 +162,7 @@ def run(*argv, **kwargs): if sys.version_info[0] < 3: # nosec import subprocess32 as subprocess else: import subprocess import subprocess # nosemgrep: rules.bandit.B40 defaults = {"stdout": subprocess.PIPE, "stderr": subprocess.PIPE} defaults.update(kwargs) Loading