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

Uploaded Python 3

File details

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

File metadata

  • Download URL: jeeves_yeti_pyproject-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 61b391fc8fb55d36e5352e573dd7ebbc5701c204aac4a5fe346831fd15b4765a
MD5 d88a5d10d6167e15b260b02c049e6982
BLAKE2b-256 0e2454f65cf6b29deba5e61206a11c3cd61c3a7aef6cfaefb715f2353ba9bf21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jeeves_yeti_pyproject-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 73ec6ef2b9b4d3d18f15eb896c5d49d754469cb050744efe63ddf69a3d5ed3f7
MD5 c9d36544a36d889a4bc92e1089284f49
BLAKE2b-256 1b09ab72d11c40f0e615fb0e8d2726a1564535bae02cef1b2d12b87ccdf2fcce

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