- Finally added type hints
tomli
dependency for Python versions < 3.11, making use oftomllib
in the standard library with 3.11+ (#150).- Support for
pyi
file extensions (and leave room for other file extensions to be added, like maybeipynb
). - Support for Google-style docstrings for class
__init__
methods with new--style [sphinx|google]
flag (#128).
- Include support for deleters when ignoring property decorators (#126).
- Support floats for
--fail-under
values (#114).
toml
dependency for all Python versions (#150).
- Add
--ignore-overloaded-functions
flag to ignore overload decorators (#97) – thank you ErwinJunge (via #167) and zackyancey. - Support for Python 3.11 & 3.12.
- Support for Python 3.6 & 3.7.
- Set minimum
click
version (thank you bildzeitung! #81, #82). - Add
--omit-covered-files
flag to skip reporting fully-covered files (#85). - Add support for different badge styles via new
--badge-style
flag (#86). - Add 3.10 support!
- Clarify
verbose
configuration (#83).
- Support for generating the status badge as a PNG file with a new
--badge-format
flag (#70). - Add new option
-C
/--ignore-nested-classes
to ignore – you guessed it – nested classes (#65). - Add new option
-S
/--ignore-setters
to ignore property setter decorators (#68).
- Add wicked cute Sloth logo to status badge (#48).
- Testing/support for Python 3.9 – thank you s-weigand!
- Excluding paths are no longer OS-dependent (#51) – thank you oriash93!
- Include Python trove classifiers in packaging (#61) – thank you mmtj!
- Support for Python 3.5 – thank you s-weigand!
- Only generate a status badge if results have changed from an existing badge (#40).
- Read configuration from
pyproject.toml
by default (#36). - Add
-P
/--ignore-property-decorators
flag to ignore methods with property getter/setter decorators (#37). - Add support for read configuration from
setup.cfg
(#35).
-e
/--exclude
doesn't error if a non-existent file/directory is passed (#38 - thank you MarcoGorelli!).
- Add
-n
/--ignore-nested-functions
flag to ignore nested functions and methods (#11). - Add color output for stdout via
--color
/--no-color
(#25).
- Output now alpha-sorts by directory.
- Add
__main__.py
module to allow for invocation viapython -m interrogate
.
- Removed
networkx
dependency.
- Use
interrogate
with pre-commit (addresses Issue #10).
- Fix summary and detail output to fit width of terminal (thank you psobot!).
- New
-w/--whitelist-regex
flag: whitelist regex identifying class, method, and function names to include.
-r/--ignore-regex
now supports multiple invocations.
- Fix misleading bug where module info was still outputted even if
--ignore-module
was used. - Fix output when interrogating a single file where filenames were not listed.
- Fix typo in non-quiet results output (thanks hynek!).
- Add 100% test coverage in the form of functional and unit tests.
- Improve docstring content to reflect parameters, return values, and raised exceptions.
- New command to generate a status badge based off of shields.io.
- Add long description to
setup.py
so PyPI is happy.
Initial release!