Skip to main content

Opinionated Jeeves plugin for Python projects.

Project description

jeeves-yeti-pyproject

This is my personal plugin for jeeves-shell that I use for my open source Python projects. If you wish to use it for your projects too, it can be added as easily as:

poetry add --group dev jeeves-yeti-pyproject

and then just run:

j

Commands

╭─ Commands ─────────────────────────────────────────────────────────────────────────────────╮
│ clear-poetry-cache       Clear Poetry cache.                                               │
│ fmt                      Auto format code.                                                 │
│ lint                     Lint code.                                                        │
│ safety                   Check installed Python packages for vulnerabilities.              │
│ test                     Unit test code.                                                   │
╰────────────────────────────────────────────────────────────────────────────────────────────╯

Features

  • lint
    • Check Python typing with mypy,
    • Run wemake-python-stylguide against your code base;
    • Both of these are applied only to those files which were changed against origin/master (thanks flakeheaven!), making j lint legacy-friendly by default
  • fmt
    • Add trailing commas automatically;
    • Apply isort;
    • By design — no black here.
  • test
    • Run pytest against tests directory with coverage enabled.

Opinions

This plugin is very opinionated and reflects my own preferences of how I like my Python projects to be managed. Feel free to create your own plugins. Mr Jeeves is happy to make your life a little bit easier.

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

jeeves_yeti_pyproject-0.2.40.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

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

jeeves_yeti_pyproject-0.2.40-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file jeeves_yeti_pyproject-0.2.40.tar.gz.

File metadata

  • Download URL: jeeves_yeti_pyproject-0.2.40.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.2.0-39-generic

File hashes

Hashes for jeeves_yeti_pyproject-0.2.40.tar.gz
Algorithm Hash digest
SHA256 ab1e36d1a08157aac1285312e198ecc8bee0454e656846c6b5203fd0c1bb4a39
MD5 4d574bd41b1acc0ceb79e8de9b3b0d21
BLAKE2b-256 06ce3716c606ad363c68336936323e6e6b313e85026c8cec2b20170857ad621e

See more details on using hashes here.

File details

Details for the file jeeves_yeti_pyproject-0.2.40-py3-none-any.whl.

File metadata

File hashes

Hashes for jeeves_yeti_pyproject-0.2.40-py3-none-any.whl
Algorithm Hash digest
SHA256 d6e428ee4eda5a53675672305543b2931fadca96c5ccaa937d89a787c6e01f8e
MD5 2e76b092c4c3506afc98079d2d8720d1
BLAKE2b-256 207eba9b972a5aa0d6ff4c45431cda9bd7446ab924795fed70738452b21241fa

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