Skip to content

Commit 7b1c56b

Browse files
authored
Start a FAQ section in the README (#214)
The first entry explains how to configure classmethod_decorators to recognize SQLAlchemy's class methods.
1 parent 615b8e7 commit 7b1c56b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,19 @@ The following flake8 options are added:
103103
Used to prevent false N805 errors.
104104

105105
Default: ``staticmethod``.
106+
107+
FAQ
108+
---
109+
110+
How do I configure ``classmethod_decorators`` to recognize `SQLAlchemy`_ class methods?
111+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112+
113+
::
114+
115+
classmethod_decorators =
116+
classmethod
117+
declared_attr
118+
expression
119+
comparator
120+
121+
.. _SQLAlchemy: https://www.sqlalchemy.org/

0 commit comments

Comments
 (0)