changeset 365:a378e2e5a867

Update dates in command-line script
author Amine Sehili <amine.sehili@gmail.com>
date Sun, 03 Jan 2021 15:22:00 +0100
parents e825021588c4
children 0118e0e33267
files .flake8 auditok/cmdline.py auditok/cmdline_util.py
diffstat 3 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/.flake8	Fri Jan 01 21:12:50 2021 +0100
+++ b/.flake8	Sun Jan 03 15:22:00 2021 +0100
@@ -1,5 +1,5 @@
 [flake8]
 ignore = E203, E266, E501, W503, F403, F401
-max-line-length = 79
+max-line-length = 80
 max-complexity = 18
 select = B,C,E,F,W,T4,B9
--- a/auditok/cmdline.py	Fri Jan 01 21:12:50 2021 +0100
+++ b/auditok/cmdline.py	Sun Jan 03 15:22:00 2021 +0100
@@ -1,17 +1,17 @@
 #!/usr/bin/env python
 # encoding: utf-8
 """
-auditok -- Audio Activity Detection tool
+`auditok` -- An Audio Activity Detection tool
 
-``auditok`` is a program that can be used for Audio/Acoustic
+`auditok` is a program that can be used for Audio/Acoustic
 activity detection. It can read audio data from audio files as well
 as from built-in device(s) or standard input.
 
 @author:     Mohamed El Amine SEHILI
-@copyright:  2015-2019 Mohamed El Amine SEHILI
+@copyright:  2015-2021 Mohamed El Amine SEHILI
 @license:    MIT
 @contact:    amine.sehili@gmail.com
-@deffield    updated: 27 Oct 2019
+@deffield    updated: 03 Jan 2021
 """
 
 import sys
@@ -30,7 +30,7 @@
 
 __all__ = []
 __date__ = "2015-11-23"
-__updated__ = "2018-10-24"
+__updated__ = "2021-01-03"
 
 
 def main(argv=None):
--- a/auditok/cmdline_util.py	Fri Jan 01 21:12:50 2021 +0100
+++ b/auditok/cmdline_util.py	Sun Jan 03 15:22:00 2021 +0100
@@ -1,7 +1,7 @@
 import sys
 import logging
 from collections import namedtuple
-from auditok import workers
+from . import workers
 from .util import AudioDataSource
 from .io import player_for