We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cb10cc commit c22ff33Copy full SHA for c22ff33
src/mixer.py
@@ -12,6 +12,7 @@
12
#
13
14
# pylint: disable=duplicate-code
15
+# pylint: disable=ungrouped-imports
16
# Pour pouvoir lancer le programme avec n'importe quel fichier
17
if __name__ == "__main__":
18
from os.path import dirname, realpath, join
@@ -148,6 +149,7 @@ def load_sound(filename):
148
149
sound = mixer.Sound(filename)
150
sound.set_volume(0.4)
151
return sound
152
+ # pylint: disable=bare-except
153
except:
154
print("Unable to open file '%s'" % filename)
155
return None
0 commit comments