Skip to content
Snippets Groups Projects
Commit 84956f67 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][prefix] Correcly silence warnings

parent cf02c71b
No related branches found
No related tags found
1 merge request!62Code cleanup
......@@ -45,6 +45,6 @@ class Algorithm:
def process(self, inputs, output):
if self.status is None: # executes it only once
self.status = os.system(self.cmd)
self.status = os.system(self.cmd) # nosec
output.write({"status": numpy.int32(self.status)})
return True
......@@ -41,7 +41,7 @@ import itertools
# Make sure we won't require an X11 connection
import matplotlib
matplotlib.use("Agg")
matplotlib.use("Agg") # noqa need to happen before further imports
from matplotlib.figure import Figure
import matplotlib.pyplot as pyplot
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment