Adds UTF-8 headers to all files

This commit is contained in:
J 2019-09-20 20:00:36 +02:00
parent f186186477
commit 40f35f13cc
18 changed files with 53 additions and 3 deletions

View File

@ -1,3 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from src.utils.elasticsearch_utils import ElasticSearchUtils
if __name__ == "__main__":

View File

@ -1,3 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import argparse

View File

@ -1,3 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import re
from src.settings import config

View File

@ -1,3 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from abc import abstractmethod

View File

@ -1,3 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from datetime import datetime
from src.librecatastro.domain.address import Address

View File

@ -1,4 +1,6 @@
import json
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from datetime import datetime
from dotmap import DotMap

View File

@ -1,3 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from src.librecatastro.domain.reform import Reform

View File

@ -1,4 +1,5 @@
import json
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from src.utils.cadastro_logger import CadastroLogger

View File

@ -1,3 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
class Reform:
def __init__(self, reform_data):
self.type = reform_data['tipo'].strip()

View File

@ -1,3 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import re
import urllib.error
from time import sleep

View File

@ -1,3 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import urllib.parse
from urllib import error

View File

@ -1,3 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import base64
import urllib.parse
from urllib.request import urlopen

View File

@ -1,3 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
class Search:
def __init__(self):
pass

View File

@ -1,3 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import time
import urllib.error

View File

@ -1,4 +1,5 @@
import json
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from dotmap import DotMap
@ -9,6 +10,7 @@ from src.utils.cadastro_logger import CadastroLogger
'''Logger'''
logger = CadastroLogger(__name__).logger
class ProvincesSearch(Search):
def __init__(self):
super().__init__()

View File

@ -1,3 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
root_path = os.path.dirname(os.path.abspath(__file__))

View File

@ -1,3 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import unittest

View File

@ -1,3 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import unittest
from time import sleep