Skip to main content

Cli tool to add common config to pyroject.toml

Project description

Ruffly

Usage

Cli tool to add common config to pyroject.toml.

Basic usage:

cd/project/with/pyrojecttoml ruffly

will add default config to pyproject.toml found in working directory.

Additional arguments:

  • --dst The path to the target pytroject.toml to modify
  • --src The path to the source pytroject.toml to copy from (can be url)
  • --only-existing Only copies config for tools that exist int the target pyproject.toml
  • --tools A list of tools to copy config for
  • --dry-run Only prints the changes that would be made

Current tools supported:

  • ruff
  • mypy
  • pytest
  • coverage
  • poe (poethepoet)

Installation

pip install ruffly

Development

To setup the development environment and run linting and testing:

python -m venv .venv
source .venv/Scripts/activate  # or .venv/bin/activate on linux
pip install -e .[dev]
poe all

To test the install with pipx pipx install . --force

To build the package: python -m build --wheel

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ruffly-0.0.3-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file ruffly-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: ruffly-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for ruffly-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 db3e3cce3256747133d25826957b2e9982adef8fff4358f2e192214864509f37
MD5 626aedef312357ad4f02d8ff5f0a836a
BLAKE2b-256 28f5c9ed3daf36be8afcce0fb7fdbb040c571551e599fab73af5e6e0f9d9a48a

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