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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file Smelly Python-1.0.0.tar.gz.

File metadata

  • Download URL: Smelly Python-1.0.0.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for Smelly Python-1.0.0.tar.gz
Algorithm Hash digest
SHA256 175d5d6cdac90ad56b77728b8bc4eee529c8982e1b4c57960d3eabdcb5af1e24
MD5 bd6ef05de7714a00e59cc743533982ac
BLAKE2b-256 45e3f15985f9d678981e08d021b0063c1d08ff677ede56f9b1f6e58d5ed2db44

See more details on using hashes here.

File details

Details for the file Smelly_Python-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for Smelly_Python-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e535263995f94dedc6dc85c1c6a604b470cc2052da677fe01de330e48c58d8e
MD5 366185ca7736ab705eb1d3108ba10397
BLAKE2b-256 dc3675e75ff4ec81fdad40e84932b6afa3345a71be79f241d9bb2364518729c8

See more details on using hashes here.

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