Contributions are welcome. Contact the maintainer for more information.
Source organization is already documented for users in the README.
The core is the pythainer/
directory.
When defining a class, the following order of functions should be respected:
__new__
(static) method__init__
method__post_init__
method- Properties (
@property
) - Static methods (
@staticmethod
) - Class methods (
@classmethod
) - Normal methods
- Protected or private methods (with the name starting with
_
)
- if the file is executable, the shebang must be the first line:
#!/usr/bin/env python3
- type hinting is correct & complete (to a reasonable extent)
- sorting imports:
isort --profile black .
- formatting:
black -l 100 .
- checking:
pylint
- checking:
flake8
All contributions require to be reviewed by the maintainer.