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.24.tar.gz (7.5 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.24-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jeeves_yeti_pyproject-0.2.24.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.0 Linux/6.2.0-33-generic

File hashes

Hashes for jeeves_yeti_pyproject-0.2.24.tar.gz
Algorithm Hash digest
SHA256 02cc71b8edd8ec8a4023190224ffba8b3a7834bfc575637aec7289ec449025b7
MD5 a4fe7f8d2e4e3a3efc04685611474cb9
BLAKE2b-256 bf1e56a6619db3de2c67621b4b583beb6aa68991ce8f0e1f0f5f474e9158d10d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jeeves_yeti_pyproject-0.2.24-py3-none-any.whl
Algorithm Hash digest
SHA256 478ac33bae6f62227608c51e062c6e9c46ba4deef953ee16e6322041388186f5
MD5 22be7cbe9a4c2c32da1733767883e4b5
BLAKE2b-256 131dfab747fd84953fae5913c7f4d10f7ffb6d2c2c5b03a7030ed242b92a97dd

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