From 13ca5b5aca5e6a149c19d99a618d0210f5ccdb71 Mon Sep 17 00:00:00 2001 From: Jeong YunWon Date: Wed, 14 Nov 2018 22:35:34 +0900 Subject: [PATCH] Update docs --- docs/quickstart.rst | 7 +++++-- ring/func/base.py | 2 +- tests/_test_callable_py3.py | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 98d39ad..e4c02ae 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -78,8 +78,8 @@ Ring will have full control for any layer of caching. :see: :doc:`why` if this document doesn't explain what **Ring** does. -method, classmethod, staticmethod ---------------------------------- +method, classmethod, staticmethod, property +------------------------------------------- **Ring** is adaptable for any kind of methods for Python class. @@ -133,6 +133,9 @@ method, classmethod, staticmethod assert p.url_property == p.url +:see: :doc:`factory` for details. + + Choosing backend ---------------- diff --git a/ring/func/base.py b/ring/func/base.py index 6ff4c8d..523c76a 100644 --- a/ring/func/base.py +++ b/ring/func/base.py @@ -1,7 +1,7 @@ """:mod:`ring.func.base` --- The building blocks of **ring.func.\***. ===================================================================== -""" +""" # noqa: W605 import abc import types from typing import List diff --git a/tests/_test_callable_py3.py b/tests/_test_callable_py3.py index f3c83e2..0f847cb 100644 --- a/tests/_test_callable_py3.py +++ b/tests/_test_callable_py3.py @@ -27,7 +27,7 @@ def test_kwargify_exc_py3(f, args, kwargs, exc): def test_annotations(): - def f(a: int, b: str, *c, d: Any=10, **e) -> Optional[float]: + def f(a: int, b: str, *c, d: Any = 10, **e) -> Optional[float]: pass c = Callable(f)