diff --git a/examples/events.py b/examples/events.py index f1e1c33335..7b1de7fafe 100644 --- a/examples/events.py +++ b/examples/events.py @@ -1,4 +1,4 @@ -# encoding: utf-8 +# -*- coding: utf-8 -*- """ This is an example of a locustfile that uses Locust's built in event hooks to diff --git a/locust/runners.py b/locust/runners.py index fe242f8fa5..8600121ff2 100644 --- a/locust/runners.py +++ b/locust/runners.py @@ -1,4 +1,4 @@ -# coding=UTF-8 +# -*- coding: utf-8 -*- import logging import random import socket diff --git a/locust/test/test_web.py b/locust/test/test_web.py index 33551e64a4..a070fc4e35 100644 --- a/locust/test/test_web.py +++ b/locust/test/test_web.py @@ -1,4 +1,4 @@ -# encoding: utf-8 +# -*- coding: utf-8 -*- import csv import json import sys diff --git a/locust/web.py b/locust/web.py index f992b40dad..57cfa5a022 100644 --- a/locust/web.py +++ b/locust/web.py @@ -1,4 +1,4 @@ -# encoding: utf-8 +# -*- coding: utf-8 -*- import csv import json diff --git a/setup.py b/setup.py index 7b41fd5dc4..04d6c293d6 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -# encoding: utf-8 +# -*- coding: utf-8 -*- import ast import os import re