Code style analyzer.
lookout/core/doc/getting_started.md
- Download
lookout
binary. - Start a babelfish server with the v1.2.0 javascript driver installed (
docker exec -it bblfshd bblfshctl driver install --update javascript bblfsh/javascript-driver:v1.2.0
) - Install the deps
sudo pip3 install -e .
- Write the configuration file
config.yml
:
server: 0.0.0.0:2000
db: sqlite:////tmp/lookout.sqlite
fs: /tmp
- Run the analyzer
python3 -m lookout run lookout.style.format -c config.yml
- File a fake pull request
./lookout review -v ipv4://localhost:2000
API documentation is available on Read The Docs.
AGPL-3.0, see LICENSE.md.