pytest-dev / pytest-dev/pytest-django

Write docstring to fixtures

Open Beginner friendly
#460 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
Python
Stars
1.5k
Forks
367
PR merge metrics
No merged PRs in 30d

Description

This is what I get when running pytest --fixtures:

.
.
.
django_db_modify_db_settings_xdist_suffix
    ...python3.5/site-packages/pytest_django/fixtures.py:23: no docstring available
.
.
.
django_db_modify_db_settings
    ...python3.5/site-packages/pytest_django/fixtures.py:51: no docstring available
django_db_use_migrations
   ...python3.5/site-packages/pytest_django/fixtures.py:56: no docstring available
django_db_keepdb
    ...python3.5/site-packages/pytest_django/fixtures.py:61: no docstring available
.
.
.
mailoutbox
    ...python3.5/site-packages/pytest_django/plugin.py:428: no docstring available
.
.
.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the listed fixtures in fixtures.py and plugin.py, using pytest --fixtures to inspect their current output. Add docstrings for the fixtures reported as having none, then rerun pytest --fixtures and confirm those entries no longer show "no docstring available".

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.