Skip to main content

wtfd(write the f*ing docs) is a Django library that forces developers to write docstrings.

Developed on Django 1.5.8

Installation

  1. pip install django_wtfd

  2. 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.

Release files for django_wtfd 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django_wtfd 0.1.4
File Size Uploaded
django_wtfd-0.1.4.tar.gz 4.8 kB Details

Release files / django_wtfd-0.1.4.tar.gz

Download URL django_wtfd-0.1.4.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d325dcde5a9e6ab8476639219a4899bc1cb067cc03603004c2bda03805aac4d9
BLAKE2b-256 checksum
How to use checksums
623ca18dfcc82037645fcf4fe1fe1dece3094b8065d5c64833f38ede5cfbfd78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page