Skip to main content

Company-wide Python linting & formatting standards

Project description

ManAISys Python Style Guide

This tool is designed to help you maintain a consistent coding style in your Python projects. It checks for common style issues and enforces best practices.

Tools Used

  • Ruff: A fast Python linter and formatter.
  • Black: The uncompromising Python code formatter.
  • isort: A Python utility for sorting imports.
  • mypy: An optional static type checker for Python.

Installation

Run the following command to install the required tools:

Using pip

pip install manaisys-style-guide

Using Poetry

poetry add manaisys-style-guide

Usage

You can run the style checks and formatting tools using the following commands: (with Poetry use poetry run style-guide <command>)

style-guide typecheck
style-guide lint
style-guide format
run style-guide all

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

manaisys_style_guide-0.2.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

manaisys_style_guide-0.2.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file manaisys_style_guide-0.2.0.tar.gz.

File metadata

  • Download URL: manaisys_style_guide-0.2.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.5 Darwin/24.6.0

File hashes

Hashes for manaisys_style_guide-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9389fa24ee874583414b8bea99b35b27def18a84c09d87dab545923dc510093f
MD5 f2d97678aaf6032cc4bb259729bc8398
BLAKE2b-256 a0059f521a0204d02b7ae14480e6efa3d94b2570febcb65430fba64a13b0b3ce

See more details on using hashes here.

File details

Details for the file manaisys_style_guide-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for manaisys_style_guide-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a12812717a86110dae6cf35089de803835520f428674622d55918ab52266afa
MD5 da33cc5a33eeddde6ce614b7a92e04f5
BLAKE2b-256 11f47bd81c582621c86dc6b3d067188352f7e7eedfa728889eb6e47cac9c9a8e

See more details on using hashes here.

Supported by

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