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.
  • pydocstyle: A documentation style checker for Python docstrings.
  • darglint: A docstring style checker for Python.
  • docformatter: A tool to format docstrings in 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 format
style-guide format_docs
style-guide typecheck
style-guide lint
style-guide lint_docs
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.2.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.2-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: manaisys_style_guide-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 7447cb442c39c07e085f593020fef0f2cdf89ca21cc3bc0ab16489b35b8b8585
MD5 894ee27537617ba59f572e1ba4390756
BLAKE2b-256 0a8afe0abebab114e4e46a61fb79650cc07c4a09d3a9dee848fbc99de9812df2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for manaisys_style_guide-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4d038d9836c5103b6b3bf755f75f81d812e0004a928d12a143e435585677fb22
MD5 cc154df320cfbeb439b120442ca4af4c
BLAKE2b-256 46bfff86a8a784ed5069317c1669693fc423f9edb7487e33d7f2e9137b657e23

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