Remove python encoding pragma

This commit is contained in:
jo 2021-05-28 12:25:05 +02:00
parent 813cbac60d
commit b26de72704
96 changed files with 0 additions and 110 deletions

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import os
# Make the celeryconfig module visible to celery

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import os
from configobj import ConfigObj
from kombu import Exchange, Queue

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from future.standard_library import install_aliases
install_aliases()

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from pathlib import Path
from setuptools import setup
from subprocess import call

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Contains the main application class for airtime_analyzer.
"""
import logging

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# TODO: use an abstract base class (ie. import from abc ...) once we have python >=3.3 that supports @staticmethod with @abstractmethod

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
""" Analyzes and imports an audio file into the Airtime library.
"""
import logging

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Main CLI entrypoint for the libretime-analyzer app.
"""

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
import configparser

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import subprocess
import logging
import traceback

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import logging
import os
import time

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import sys
import pika
import json

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import time
import datetime
import mutagen

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
__author__ = "asantoni"
import subprocess

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import subprocess
import logging
from .analyzer import Analyzer

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import requests
import json
import logging

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from setuptools import setup
import os

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from nose.tools import *
import airtime_analyzer

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from nose.tools import *
import os
import shutil

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from nose.tools import *
from airtime_analyzer.analyzer import Analyzer

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from nose.tools import *
from airtime_analyzer.cuepoint_analyzer import CuePointAnalyzer

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from nose.tools import *
import os
import shutil

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from __future__ import print_function
import datetime
import mutagen

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from nose.tools import *
from airtime_analyzer.playability_analyzer import *

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from __future__ import print_function
from nose.tools import *
from airtime_analyzer.replaygain_analyzer import ReplayGainAnalyzer

View file

@ -1,3 +1 @@
# -*- coding: utf-8 -*-
__all__ = ["version1"]

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import json
import datetime
import logging

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
###############################################################################
# This file holds the implementations for all the API clients.
#

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
###############################################################################
# This file holds the implementations for all the API clients.
#

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from __future__ import print_function
from setuptools import setup
from subprocess import call

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import unittest
from api_clients.utils import ApcUrl, UrlBadParam, IncompleteUrl

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import unittest
import json
from mock import MagicMock, patch

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import unittest
import json
from mock import patch, MagicMock

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import datetime
import configparser
import unittest

View file

@ -1,6 +1,3 @@
# -*- coding: utf-8 -*-
import shutil
import os
import sys

View file

@ -1,5 +1,4 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
import runpy
# Run the liquidsoap python module

View file

@ -1,5 +1,4 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
import runpy
runpy.run_module("pypo", run_name="__main__")

View file

@ -1,5 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import traceback

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
""" Runs Airtime liquidsoap
"""
import argparse

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
import logging
import os
import sys

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
from api_clients import version1 as api_client
import sys

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from configobj import ConfigObj
import telnetlib
import sys

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Python part of radio playout (pypo)
"""

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
FILE = "file"
EVENT = "event"
STREAM_BUFFER_START = "stream_buffer_start"

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from threading import Thread
import urllib.request, urllib.error, urllib.parse
import defusedxml.minidom

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import re
from packaging.version import Version, parse

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
import os
import sys
import time

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
from threading import Thread
from queue import Empty
from configparser import NoOptionError

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from threading import Thread
from collections import deque
from datetime import datetime

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from .pypofetch import PypoFetch
from .telnetliquidsoap import TelnetLiquidsoap

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
import logging
import traceback
import os

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
from datetime import datetime
from datetime import timedelta
from configobj import ConfigObj

View file

@ -1,6 +1,3 @@
# -*- coding: utf-8 -*-
import logging
import json
import time

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
import telnetlib
from .timeout import ls_timeout
import traceback

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
from .pypoliqqueue import PypoLiqQueue
from .telnetliquidsoap import DummyTelnetLiquidsoap, TelnetLiquidsoap

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import threading
from . import pypofetch

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from __future__ import print_function
from setuptools import setup
from subprocess import call