Forcing developers to write docstrings.
Project description
wtfd(write the f*ing docs) is a Django library that forces developers to write docstrings.
Developed on Django 1.5.8
Installation
pip install django_wtfd
Add django_wtfd to your project’s INSTALLED_APPS.
Settings
- WTFD_APPS
List of project’s apps to include in docstrings check. If its not set all the .py files in project will be checked.
- WTFD_STRICT
If set to True, checks will raise an exception in case some method/function/class is missing docstrings. Defaults to False.
Usage
To perform docstrings check, run: ./manage.py wtfd
Notes
Docstrings check skips magic methods, migrations, Meta class and modules that have ‘test’ in their name.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django_wtfd-0.1.4.tar.gz
.
File metadata
- Download URL: django_wtfd-0.1.4.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d325dcde5a9e6ab8476639219a4899bc1cb067cc03603004c2bda03805aac4d9 |
|
MD5 | 7b1dd46e7d643a49cf3ecfc758defe14 |
|
BLAKE2b-256 | 623ca18dfcc82037645fcf4fe1fe1dece3094b8065d5c64833f38ede5cfbfd78 |