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.22.tar.gz (7.3 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.22-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jeeves_yeti_pyproject-0.2.22.tar.gz
Algorithm Hash digest
SHA256 5a6bf08da01fdb9f524c5c48351c1c776509cefa2140c5452d8afeefba681c2e
MD5 fe21868e1e72f7fd03a6fb27ad42c36a
BLAKE2b-256 9e6ed41a0fc0cd39164fa1e14ac00e47fc93436612e6476c50e3d442e9e17a49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jeeves_yeti_pyproject-0.2.22-py3-none-any.whl
Algorithm Hash digest
SHA256 7dbeca7973229f3fbc813399c664a8e09753e4502325cf414561601d81afcaa1
MD5 fd0533358cb00031721b4e46296d31b8
BLAKE2b-256 045095c4a630f7eaf8fcb52a33beb46f40d631b0b08a3cb019c9059f31ca1bb3

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