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.18.tar.gz (7.1 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.18-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jeeves_yeti_pyproject-0.2.18.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.0 Linux/5.15.0-56-generic

File hashes

Hashes for jeeves_yeti_pyproject-0.2.18.tar.gz
Algorithm Hash digest
SHA256 a09835469c4895d2cc98dd76dfa2f5105b61a6cda7e5fc104732b5e7282ffefa
MD5 e396b8c0a7ca7e140747320848d6da03
BLAKE2b-256 c41a921b476354bdfc886a140b172df7298d8fc98ea351f024e17c0b5f2e0f7c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jeeves_yeti_pyproject-0.2.18-py3-none-any.whl
Algorithm Hash digest
SHA256 ba55b62e6bcf08761fd39a08af603566f2fb10efa732dc8a0d9e9d3dd4bac778
MD5 b8b01469d38bd4241c3333940cd8fd00
BLAKE2b-256 57eebec44287d48636b3021df485899ab47ce9296ae39d00eca3ad08841b59cb

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