Skip to content

Commit 3cb3b18

Browse files
committed
Specify encoding in all Python source files
1 parent 6effcf3 commit 3cb3b18

8 files changed

Lines changed: 8 additions & 0 deletions

File tree

ocelot/collection.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from collections.abc import Iterable
23

34

ocelot/io/cleanup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from ..filesystem import get_base_output_directory
23
import os
34
import shutil

ocelot/transformations/parameterization.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from ..collection import Collection
23
from ..errors import ParameterizationError
34

tests/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
import os
23

34
test_data_dir = os.path.join(os.path.dirname(__file__), "data")

tests/collection.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from ocelot.collection import Collection
23
from ocelot.model import system_model
34
from .mocks import fake_report

tests/extraction.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from . import test_data_dir
23
from ocelot.io.extract_ecospold2 import generic_extractor
34
import os

tests/mocks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from ocelot.model import system_model
23
from ocelot.logger import Logger
34
from unittest import mock

tests/parameterization.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from ocelot.transformations import parameter_names_are_unique
23
from ocelot.errors import ParameterizationError
34
import pytest

0 commit comments

Comments
 (0)