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.0.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.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jeeves_yeti_pyproject-1.0.0.tar.gz
Algorithm Hash digest
SHA256 fd0b3c0ed940d77526b9afce076eb6fc8a9f084592172d5b2250272237266dab
MD5 81887be12af48df889307965f458bd9a
BLAKE2b-256 710dd4c782ea426c07f70ffb61a6b8a897de0d59cb43708a479ad98bb81b5026

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jeeves_yeti_pyproject-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1d81e893ebe43d4f5fcc5f2906ffa0eaa96bdc552af2796e3e7a41daffa137f
MD5 2154535d6e8d715111072f7abc79bdf6
BLAKE2b-256 ba8f372908db5b55585dcd0f0d8c01612d42ed17c52eb9bc76939bba75195292

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