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

Uploaded Python 3

File details

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

File metadata

  • Download URL: jeeves_yeti_pyproject-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 1f5721aca50239253d90d0cc3bafb82c27a4aee5fe6ae3557bfe401b01bac0ae
MD5 0397719d3c6bbd1ed82cbb04c575dca6
BLAKE2b-256 141accb7a75fa9892b912423f5efeab623d2d1469ccc9836b085b6b0606d1d87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jeeves_yeti_pyproject-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8513fa1ffb5b5f02d173e2e5d3eec2b26e4b72b4418e454bfdb7d78aba7c01ff
MD5 7ed139564b37b6ce3beb6ecf2bb6d023
BLAKE2b-256 b5411b83fceab261dc26b67fe3082c479824ede304b957388462aea04f3a1e3d

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