a new way to do python code documentation
Project description
archives is a new style of python code documentation, as well as a linter for the documentation itself. It can help you ensure that your docstrings in your classes and functions stay up to date, and that they adequately explain their purpose, arguments, and return value.
Features
linter for docstrings (work in progress, but usable!)
(coming soon) documentation generator
Usage
Installation
pip install archives
Run the Linter
# run archives (on itself!)
archives archives.py
#> archives.py:846:0: F104 function 'path_empty' missing @ret tag
#>
#> Impossible! Perhaps your archives are incomplete?
#> 1 issues found.
# list rules!
archives --list-rules
# disable rules!
archives --disable M100 .
# different formats for output! defaults to flake8
archives --format pylint archives.py
Testing
Tests can be run with tox!
# run tests
tox
# only one version of python
tox -e py36
Todo
more rules
better system for multi-check rules
more output formats
potentially spell-checking inside desc?
documentation generator
tests
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
archives-0.9.tar.gz
(12.9 kB
view hashes)