Skip to main content

A python code smell reporting tool

Project description

# Smelly Python

A code smell reporting tool for Python projects, created for the [Release Engineering for Machine Learning applications](https://se.ewi.tudelft.nl/remla/2022/) course at TU Delft.

Smelly Python generates an HTML report for easy viewing of Pylint errors.

# How To 1. Run pip install smelly-python 2. Run smelly-python -d {src}. Replace {src} with the directory you want to analyse. 3. Open ./report/smelly_python/index.html to view the generated report.

# Using Advanced Features of Pylint Smelly Python will run the following command: pylint {src} –output-format:json:report.json,text:grade.txt –exit-zero. Therefore, in order to customize what settings Pylint runs with, use the .pylintrc file to configure it.

# Using Smelly-Python in GitHub Actions The tool has been designed to be run within a GitHub workflow using the [smell-my-pr](https://github.com/marketplace/actions/smelly-python-smell-my-pr) GitHub action. The action will automatically post the output of the tool to your GitHub pull request as a comment and add a summary and artifact to the job.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Smelly Python-1.0.0.tar.gz (25.7 kB view hashes)

Uploaded Source

Built Distribution

Smelly_Python-1.0.0-py3-none-any.whl (29.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page