[](https://travis-ci.org/src-d/lookout-flake8-analyzer) lookout analyzer: sonarcheck

November 13, 2018 ยท View on GitHub

A lookout analyzer implementation that uses the flake8 meta linter for Python code.

Disclaimer: this is not an official product, it only serves the purpose of testing lookout.

Example of utilization

With lookout-sdk binary from the latest release of SDK:

$ python3 flake8_analyzer.py

$ lookout-sdk review -v ipv4://localhost:2001 \
    --from c99dcdff172f1cb5505603a45d054998cb4dd606 \
    --to 3a9d78bdd1139c929903885ecb8f811931b8aa70

Configuration

VariableDefaultDescription
FLAKE8_HOST0.0.0.0IP address to bind the gRPC serve
FLAKE8_PORT2002Port to bind the gRPC server
FLAKE8_DATA_SERVICE_URLipv4://localhost:10301gRPC URL of the Data service
FLAKE8_LOG_LEVELinfoLogging level (info, debug, warning or error)

Development

Release

Main release artifact is a Docker image, so

  • make docker-push

License

AGPLv3