Skip to main content

A Python code analysis tool that checks for programming errors, inconsistencies, and programming style violations, as well as the correctness of type annotations in programs. The pysmells tool is based on the following Python Enhancement Proposals (PEPs): PEP 8, PEP 20, PEP 257, PEP 484, PEP 526, PEP 544, PEP 561, PEP 563, and PEP 589.

Project description

Pysmells

A Python code analysis tool that checks for programming errors, inconsistencies, and programming style violations, as well as the correctness of type annotations in programs. The pysmells tool is based on the following Python Enhancement Proposals (PEPs): PEP 8, PEP 20, PEP 257, PEP 484, PEP 526, PEP 544, PEP 561, PEP 563, and PEP 589.

Installation

You can install pysmells using pip:

pip install pysmells

Usage

To use pysmells, navigate to the directory containing the Python files you want to analyze and run the following command:

pysmells

pysmells will analyze the Python files in the current directory, checking for programming errors, inconsistencies, programming style violations, and the correctness of type annotations in programs. It will then generate a report detailing the results of the analysis.

Dependencies

pysmells requires the following packages:

  • tabulate
  • mypy
  • pylint

These dependencies will be automatically installed when you install pysmells using pip.

License

pysmells is licensed under the MIT License. See the LICENSE file for more information.

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

pysmells-1.0.5.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

pysmells-1.0.5-py3-none-any.whl (4.4 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