API Reference¶
This section contains the API documentation for Nitpick's Python modules.
Main Modules¶
Using the API¶
Nitpick can be used as a library in your Python code. The main entry point is the Nitpick class.
from nitpick.core import Nitpick
# Initialize Nitpick
nit = Nitpick.singleton().init()
# Run checks
violations = nit.run()
For more details, see the module documentation below.