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:

poetry install

Usage

You can run the style checks and formatting tools using the following commands:

poetry run style-guide typecheck
poetry run style-guide lint
poetry run style-guide format
poetry 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.1.1.tar.gz (1.8 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.1.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: manaisys_style_guide-0.1.1.tar.gz
  • Upload date:
  • Size: 1.8 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.1.1.tar.gz
Algorithm Hash digest
SHA256 b19fc0d2502c068ef9f3a0b4fc348c4acd59eb2b9a69e1e87a5d7cbe51d90969
MD5 c6070d37e8aab4d2faaeb883c0c1ee97
BLAKE2b-256 88dd01cf2a8718c0cbc93b7f7b3e0f1d0b2bc6c56251dbc1826f934afd0b305a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for manaisys_style_guide-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 966c4196a20509c803a0a08009772c61ef84462f961f8df7dee630fb20220167
MD5 8bb892ab4059318f3f810ec2ffff4724
BLAKE2b-256 ade7f32e64555db481ac739b889f769b7ecd55763cdf621503e2a9180fdba49f

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