Browse Source

add utf8 encoding info in python files

Bastien Sevajol 7 years ago
parent
commit
86744f2532

+ 1 - 0
sandbox/engulf/behaviour.py View File

@@ -1,3 +1,4 @@
1
+# coding: utf-8
1 2
 from synergine2.simulation import SubjectBehaviour, SimulationMechanism, SimulationBehaviour
2 3
 from synergine2.simulation import Event
3 4
 from synergine2.utils import ChunkManager

+ 1 - 0
sandbox/engulf/gui.py View File

@@ -1,3 +1,4 @@
1
+# coding: utf-8
1 2
 from random import randint
2 3
 
3 4
 import cocos

+ 1 - 0
sandbox/engulf/simulation.py View File

@@ -1,3 +1,4 @@
1
+# coding: utf-8
1 2
 from sandbox.engulf.subject import Cell, Grass
2 3
 from synergine2.xyz import XYZSubjects, XYZSubjectMixin
3 4
 

+ 1 - 0
sandbox/engulf/subject.py View File

@@ -1,3 +1,4 @@
1
+# coding: utf-8
1 2
 from sandbox.engulf.behaviour import GrowUp
2 3
 from synergine2.simulation import Subject
3 4
 from synergine2.xyz import XYZSubjectMixin

+ 1 - 0
sandbox/life_game/gui.py View File

@@ -1,3 +1,4 @@
1
+# coding: utf-8
1 2
 import cocos
2 3
 from cocos.actions import ScaleBy, Repeat, Reverse, RotateBy
3 4
 from cocos.director import director

+ 1 - 0
sandbox/life_game/run.py View File

@@ -1,3 +1,4 @@
1
+# coding: utf-8
1 2
 import os
2 3
 import sys
3 4
 

+ 1 - 0
sandbox/life_game/simulation.py View File

@@ -1,3 +1,4 @@
1
+# coding: utf-8
1 2
 from synergine2.simulation import Subject, SimulationMechanism, Simulation
2 3
 from synergine2.simulation import SimulationBehaviour
3 4
 from synergine2.simulation import Event

+ 1 - 0
sandbox/life_game/utils.py View File

@@ -1,3 +1,4 @@
1
+# coding: utf-8
1 2
 from sandbox.life_game.simulation import Empty
2 3
 from sandbox.life_game.simulation import Cell
3 4
 from synergine2.simulation import Simulation

+ 1 - 0
sandbox/print_terminal.py View File

@@ -1,3 +1,4 @@
1
+# coding: utf-8
1 2
 import time
2 3
 import sys
3 4
 

+ 1 - 0
synergine2/core.py View File

@@ -1,3 +1,4 @@
1
+# coding: utf-8
1 2
 import time
2 3
 from synergine2.cycle import CycleManager
3 4
 from synergine2.simulation import Simulation

+ 1 - 0
synergine2/cycle.py View File

@@ -1,3 +1,4 @@
1
+# coding: utf-8
1 2
 import multiprocessing
2 3
 
3 4
 from synergine2.processing import ProcessManager

+ 1 - 0
synergine2/processing.py View File

@@ -1,3 +1,4 @@
1
+# coding: utf-8
1 2
 import types
2 3
 from multiprocessing import Process
3 4
 from multiprocessing import Manager

+ 1 - 0
synergine2/simulation.py View File

@@ -1,3 +1,4 @@
1
+# coding: utf-8
1 2
 import collections
2 3
 
3 4
 from synergine2.utils import get_mechanisms_classes

+ 1 - 0
synergine2/terminals.py View File

@@ -1,3 +1,4 @@
1
+# coding: utf-8
1 2
 import collections
2 3
 from copy import copy
3 4
 from multiprocessing import Queue

+ 1 - 0
synergine2/xyz.py View File

@@ -1,3 +1,4 @@
1
+# coding: utf-8
1 2
 from math import sqrt
2 3
 from math import degrees
3 4
 from math import acos

+ 1 - 0
synergine2/xyz_utils.py View File

@@ -1,3 +1,4 @@
1
+# coding: utf-8
1 2
 from math import sqrt
2 3
 import collections
3 4
 

+ 1 - 0
synergine2_cocos2d/gui.py View File

@@ -1,3 +1,4 @@
1
+# coding: utf-8
1 2
 import cocos
2 3
 import pyglet
3 4
 from pyglet.window import key as wkey

+ 1 - 0
tests/test_life_game.py View File

@@ -1,3 +1,4 @@
1
+# coding: utf-8
1 2
 import collections
2 3
 from sandbox.life_game.simulation import Cell
3 4
 from sandbox.life_game.simulation import Empty

+ 1 - 0
tests/test_processing.py View File

@@ -1,3 +1,4 @@
1
+# coding: utf-8
1 2
 import os
2 3
 
3 4
 from synergine2.processing import ProcessManager

+ 1 - 0
tests/test_terminals.py View File

@@ -1,3 +1,4 @@
1
+# coding: utf-8
1 2
 import time
2 3
 
3 4
 from synergine2.simulation import Event

+ 1 - 0
tests/test_utils.py View File

@@ -1,3 +1,4 @@
1
+# coding: utf-8
1 2
 from synergine2.utils import ChunkManager
2 3
 from tests import BaseTest
3 4
 

+ 1 - 0
tests/test_xyz.py View File

@@ -1,3 +1,4 @@
1
+# coding: utf-8
1 2
 # -*- coding: utf-8 -*-
2 3
 from synergine2.simulation import Subject
3 4
 from synergine2.simulation import Subjects