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 ruff for fast linting,
    • Run wemake-python-stylguide via flake8 against your code base;
    • All of these are applied only to those files which were changed against origin/master, making j lint legacy-friendly by default
  • fmt
    • Format code using ruff format;
    • Applied only to those files which were changed against origin/master, making j fmt legacy-friendly by default.
  • 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-1.0.2.tar.gz (6.0 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-1.0.2-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jeeves_yeti_pyproject-1.0.2.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.5 Linux/6.8.0-90-generic

File hashes

Hashes for jeeves_yeti_pyproject-1.0.2.tar.gz
Algorithm Hash digest
SHA256 89dc6df29ccd07cc96d001032aab2d82df80adf673718fbc4bc5652464c63927
MD5 a1b82d01d15c96f610072c6fef7d85e9
BLAKE2b-256 55cd3234fac6513443535b0c183606a1c65d256640a43b21e81db2ba9f3c4a4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jeeves_yeti_pyproject-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bde020d0462ba9d407771a8dd193fc437f5fa3c7e3eeea4909e735f40bd7cf00
MD5 348eff4d9462971add63e2e7c6d949eb
BLAKE2b-256 f7cdc18cf3d36f1a1d220564027a237e9009b2b38ebfdd0c3d41bccfd1d36da7

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