Skip to main content

A simple module that adds an extension for the fantastic pydocstyle tool to flake8.

Simply install this extension:

pip install flake8-docstrings

and run flake8.

You can set the pydocstyle convention at the command line using:

$ flake8 --docstring-convention numpy ...

Or, adding docstring-convention=numpy to your flake8 configuration file. The available set of conventions depends on the version of pydocstyle installed. The default is pep257, pydocstyle v2.0.0 added numpy (for the numpydoc standard), while pydocstyle v4.0.0 added google.

In order to choose a custom list of error codes, use the special value docstring-convention=all, then choose the codes you want checked using flake8’s built-in --ignore/--select functionality.

Report any issues on our bug tracker.

Metadata

Release files for flake8-docstrings 1.7.0

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

Source distribution (sdist)

Source distribution for flake8-docstrings 1.7.0
File Size Uploaded
flake8_docstrings-1.7.0.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flake8-docstrings 1.7.0
File Interpreter ABI Platform
flake8_docstrings-1.7.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 11.0 kB

Release files / flake8_docstrings-1.7.0.tar.gz

Download URL flake8_docstrings-1.7.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4c8cc748dc16e6869728699e5d0d685da9a10b0ea718e090b1ba088e67a941af
BLAKE2b-256 checksum
How to use checksums
9324f839e3a06e18f4643ccb81370909a497297909f15106e6af2fecdef46894
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release files / flake8_docstrings-1.7.0-py2.py3-none-any.whl

Download URL flake8_docstrings-1.7.0-py2.py3-none-any.whl
Size 5.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
51f2344026da083fc084166a9353f5082b01f72901df422f74b4d953ae88ac75
BLAKE2b-256 checksum
How to use checksums
3f7d76a278fa43250441ed9300c344f889c7fb1817080c8fb8996b840bf421c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release history Release notifications | RSS feed

This release

1.7.0 This release

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

1 release file

0.2.0

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.0

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