Add and fix documentation

- Add more documentation around utils functions
- Fix documentation about default formatting plugins
- Add extra documentation of filenames_from predicate parameter
- Add test for the default parameter of flake8.utils.fnmatch
This commit is contained in:
Ian Cordasco 2016-02-25 09:06:45 -06:00
parent cd18b9f175
commit a4e984dbd2
5 changed files with 67 additions and 5 deletions

View file

@ -106,7 +106,8 @@ def filenames_from(arg, predicate=None):
:param callable predicate:
Predicate to use to filter out filenames. If the predicate
returns ``True`` we will exclude the filename, otherwise we
will yield it.
will yield it. By default, we include every filename
generated.
:returns:
Generator of paths
"""