Add pyrefly config in pyproject.toml
Project description
PyRefly Config Adder
A lightweight, idempotent CLI tool that automatically injects the [tool.pyrefly] configuration block into your pyproject.toml file.
Designed for developers who want to standardize their PyRefly setup across projects without manual copy-pasting.
Uses
Using UV
# uses the tool
uvx pyrefly-config-adder
# install globally the tool
uv tool install pyrefly-config-adder
pyrefly-config-adder # execute the cli
pca # shorter alias
Using pip
pip install pyrefly-config-adder
pyrefly-config-adder
pca
python -m pca
python -m pyrefly-config-adder
What it adds
Adds the following block to your pyproject.toml:
[tool.pyrefly]
project-excludes = [".venv/**"]
search-path = ["."]
python-interpreter = ".venv/bin/python"
site-package-path = ".venv/lib/site-packages"
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyrefly_config_adder-0.1.0.tar.gz.
File metadata
- Download URL: pyrefly_config_adder-0.1.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3e2e67a0f3af2135dec64bdc9154d94839e04770fa5472238ba8ee91d85b4bf
|
|
| MD5 |
d69f18942a855b4d360e1c22e4fda365
|
|
| BLAKE2b-256 |
bc270f1016394ed7d1aea2ccf9e4e5e7210b4e8aed8a62baee00ef1761da7cfa
|
File details
Details for the file pyrefly_config_adder-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pyrefly_config_adder-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6328e8008df809a85878ffe20ecc7b2affa325c8b334e4000ad17e94bd288bbc
|
|
| MD5 |
2a2e96501bed60f8052d4d01d2acbdfd
|
|
| BLAKE2b-256 |
274b5b2ce71122ce4c857fc3d32ff5f5d0712274a42e084a1372e0786676b27d
|