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.42.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

jeeves_yeti_pyproject-0.2.42-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jeeves_yeti_pyproject-0.2.42.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.42.tar.gz
Algorithm Hash digest
SHA256 ba9a1e38a08f29238e6d599d1d886f92b9eea0e947808911a44eb9391669068e
MD5 35435a0c940122f5cdbd05d9b132b488
BLAKE2b-256 9e5a499edb3379d2bfeea5500c2453e77effe61eb1668624c4a7c96e23c279f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jeeves_yeti_pyproject-0.2.42-py3-none-any.whl
Algorithm Hash digest
SHA256 d0b0be2dca6ec1b2528defa63e57cc3c13d4629b8190c13923a7202a7e7b9073
MD5 42a0b96b676fd69c44ba92868e75ea51
BLAKE2b-256 f482adad8bd7b97d749dfabf29fa889583009f1879fe0e10c2b20c80add6c7aa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page