From 51ebf2bd75c943561a6b5ebe123d06d0bcdce551 Mon Sep 17 00:00:00 2001 From: Wolfgang Kerzendorf Date: Wed, 14 Oct 2020 16:52:38 +0200 Subject: [PATCH] Update developer_faq.rst --- docs/development/developer_faq.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/development/developer_faq.rst b/docs/development/developer_faq.rst index 58f25506632..da321570894 100644 --- a/docs/development/developer_faq.rst +++ b/docs/development/developer_faq.rst @@ -2,6 +2,12 @@ Developer FAQ ************* - Constants in TARDIS are all taken from Astropy. The module tardis.constants import all constants currently from astropy.constants.astropy13constants. + +Class design and inheritance: + + * If only constructor changed -> use classmethod + * if overriding other methods -> subclass + +We use black to check PEP8 compliances.