Dev tools CLI for performing common development tasks.
Project description
dev
Dev tools CLI for performing common development tasks.
Commands
dev build
- This command handles building and validating a Python package. It ensures a clean environment, creates the package, and verifies its integrity.
dev chain
- This command runs a series of code quality and documentation checks. It returns the highest status code among them, indicating the most severe result.
dev clean
- This command removes Python cache files and
__pycache__directories to clean the project. It ensures a fresh state for the codebase.
dev count
- This command counts lines of code in a project, optionally grouped by author, excluding tests, or showing detailed output. It can operate across all files or use
gitto break down contributions by individual authors.
dev doc
- This command generates docstrings for all functions and validates them to ensure they match the function signatures. It also checks that all functions are properly type-annotated.
dev install
- This command installs the Python package locally by executing the setup script. It makes the package available in the current environment for development and testing.
dev lint
- This command runs linters on modified files by default, with the option to lint all files or specific paths. It supports multiple languages including Python, JavaScript, and TypeScript.
dev publish
- This command publishes the built package in the
distdirectory to PyPI using Twine. It assumes the distribution artifacts have already been built.
dev run
- This command runs the Python program defined at the
main.pyentry point. It acts as a convenient shortcut for launching the application.
dev spell
- This command checks spelling across project files. It helps maintain consistency and catch common typos in code, comments, and documentation.
dev time
- This command measures how long a command takes to run, repeating it multiple times and reporting the fastest execution time. It's useful for benchmarking performance of shell commands.
dev test
- This command runs unit tests in a Python project. It can either use Python's
unittestdiscovery or manually execute test files in parallel, optionally filtering them. It reports results, tracks failures, and summarizes execution time.
dev uninstall
- This command uninstalls a Python package by reading its setup file to determine the package name, then running
pip uninstalland cleaning up related metadata. It ensures the package and its build info are fully removed.
dev unused
- This command runs
pylinton changed Python files to check for unused imports. It also can filter the files based on input options and report any issues found.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dev-star-1.3.0.tar.gz
(26.7 kB
view details)
File details
Details for the file dev-star-1.3.0.tar.gz.
File metadata
- Download URL: dev-star-1.3.0.tar.gz
- Upload date:
- Size: 26.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc5d62dd8350b11bf501bef84b6046effd85e9e0d896cef74f0c6562fa24ad41
|
|
| MD5 |
284195b28dca59ec5c5a3877fd0e752c
|
|
| BLAKE2b-256 |
3768042b9a12e2ca3b90f05bd1f8e973bda2523870150117b4be651a1fbc2f7d
|