Josselin c43cdfe437 Fix github super linter 2 weeks ago
..
slither_my_plugin 962b7ae10d Run black 2 months ago
README.md e9f4283323 linting: Solve Markdown linting errors 4 months ago
setup.py c43cdfe437 Fix github super linter 2 weeks ago

README.md

Slither, Plugin Example

This repo contains an example of plugin for Slither.

See the detector documentation.

Architecture

  • setup.py: Contain the plugin information
  • slither_my_plugin/__init__.py: Contain make_plugin(). The function must return the list of new detectors and printers
  • slither_my_plugin/detectors/example.py: Detector plugin skeleton.

Once these files are updated with your plugin, you can install it:

python setup.py develop

We recommend to use a Python virtual environment (for example: virtualenvwrapper).