From 6f00f7046a1ef78710c6d5d94b4ed615989769b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Fri, 19 Jun 2020 14:34:28 +0700 Subject: [PATCH] Housekeep and partially tackle GH-109 --- .travis.yml | 4 ++-- setup.cfg | 2 +- src/palace.pyx | 12 ++++++------ tox.ini | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9aafc61..d4411d8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,10 @@ -language: python - branches: only: - master - /^\d+(\.\d+)+((a|b|rc)\d+)?(\.post\d+)?(\.dev\d+)?$/ +language: python + env: global: - TWINE_USERNAME=__token__ diff --git a/setup.cfg b/setup.cfg index b4f1b67..7d8df5c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,7 @@ [metadata] name = palace version = 0.2.1 -url = https://github.com/McSinyx/palace +url = https://mcsinyx.github.io/palace author = Nguyễn Gia Phong author_email = mcsinyx@disroot.org classifiers = diff --git a/src/palace.pyx b/src/palace.pyx index a95b93d..73fb6dc 100644 --- a/src/palace.pyx +++ b/src/palace.pyx @@ -2607,8 +2607,8 @@ cdef class Decoder: def loop_points(self) -> Tuple[int, int]: """Loop points in sample frames. - Returns - ------- + Return + ------ start : int Inclusive starting loop point. end : int @@ -2663,8 +2663,8 @@ cdef class Decoder: The source object to play audio. If `None` is given, a new one will be created from the current context. - Returns - ------- + Return + ------ The source used for playing. """ if source is None: source = Source() @@ -2732,8 +2732,8 @@ class BaseDecoder(_BaseDecoder, metaclass=ABCMeta): def loop_points(self) -> Tuple[int, int]: """Loop points in sample frames. - Returns - ------- + Return + ------ start : int Inclusive starting loop point. end : int diff --git a/tox.ini b/tox.ini index d0be5fa..400cc4f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = py minversion = 3.3 -isolated_build = true +isolated_build = True [testenv] deps =