Extension for flake8 which uses pydocstyle to check docstrings
Project description
flake8-docstrings
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.
Report any issues on our bug tracker.
History/Changelog
1.1.0
Upgrade dependency on pydocstyle to 2.0.0
1.0.3
Use flake8-polyfill to get standard-in to handle Flake8 3.x and 2.x
1.0.2
Use pycodestyle to get standard-in.
1.0.1
Make sure this works out of the box (is enabled by default) with Flake8 3.0
1.0.0
Switch dependency name to pydocstyle. pep257 was renamed to pydocstyle, this update switches the requirement to that new package name. Since we’re swapping out dependencies, we’ve issued a major version bump.
0.2.7
Try to import pydocstyle (not pycodestyle) as pep257
0.2.6
Respect pep257’s default ignore list
Handle AllError and other exceptions from pep257
0.2.5
Use pep257’s tokenize_open function to pass input to the tool.
Use pep257’s conventions so any error codes that are ignored by default using pep257 are also ignored by default with this plugin.
0.2.4
Fix bug introduced in 0.2.2 where the file source was always None causing D100 and D104 errors for all files and no other errors to be found.
0.2.3
Remove extraneous space in error message.
Fix up how the plugin displays with flake8 --version.
0.2.2
Better support for input provided via stdin.
0.2.1
Prevent AllError or EnvironmentErrors from being raised. Thanks Alex Pyrgiotis.
0.2.0
Upgrade to pep257 0.3.0
0.1.4
Stop truncating error messages
0.1.3
Really fix the installation issue this time.
0.1.2
Actually fix the PyPI release. Ugh
0.1.1
Fix the PyPI release.
0.1.0
Initial Release!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file flake8-docstrings-1.1.0.tar.gz
.
File metadata
- Download URL: flake8-docstrings-1.1.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d2a7c12e57db7bef56f820d0294bed7a577a18609246f70d223bc1bdccc185c |
|
MD5 | 481985b7c40a671a066f10aec74cde33 |
|
BLAKE2b-256 | 1ca130e64396db26d21e269a21a5547cbcd23c0f60fd17c224767ad69d4edd23 |
File details
Details for the file flake8_docstrings-1.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: flake8_docstrings-1.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62992d5b452e940837ad42905baf09efcd6199813f8657391893414be8db463a |
|
MD5 | 27ee86f90abcb54190153e93d9b7fe88 |
|
BLAKE2b-256 | ba0f0f052d9cc8250dfc026b2a3a11e6ff8d1435ddb2bed40b6ba72f381dadc5 |