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.43.tar.gz (9.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-0.2.43-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jeeves_yeti_pyproject-0.2.43.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.5 Linux/6.2.0-39-generic

File hashes

Hashes for jeeves_yeti_pyproject-0.2.43.tar.gz
Algorithm Hash digest
SHA256 640d511e4638941733927898afd55aeed5ba1e30365f114eb74ba9c06238a5e9
MD5 fcb86a4d01b0869ee67d8a22fa4d4555
BLAKE2b-256 5aa57ed5065f9a5fe1914b1f29f281cf26163d52e0408ca656c021fb9f7ee0af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jeeves_yeti_pyproject-0.2.43-py3-none-any.whl
Algorithm Hash digest
SHA256 cc7e5c7e2b47102fe9de406d571af43e6ba43427320dd8da89ef9bcd128fce46
MD5 a52f757feffe027bb1d7721c588a008a
BLAKE2b-256 caebc6555ad59d4785e5a51426f969921392861f85e3623e0625f0114a0e330a

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