Releases: rednafi/rubric
Releases Β· rednafi/rubric
v0.4.2
v0.4.0
Added pip-compile
and pip-sync
commands to the makefile. These commands are used to lock and sync dependencies in pip-tools
. Having these in the makefile means, two fewer commands to remember. Also, now you can run:
make help
to see all the available commands with their descriptions. This will print:
black Apply black.
dep-lock Freeze deps in 'requirements.txt' file.
dep-sync Sync venv installation with 'requirements.txt' file.
dep-update Update all the dependencies to the latest version
flake Apply flake8.
help Show this help message.
isort Apply isort.
lint Apply all the linters.
lint-check Check whether the codebase satisfies the linter rules.
mypy Apply mypy.
test Run the tests against the current version of Python.
v0.3.9
- Changed the ethos
- Updated the description to make the purpose of the tool clearer.
- The CLI looks less noisy.
$ rubric
Rubric - Isomorphic Dependency & Config Management for Python βοΈ
usage: rubric [-h] [-l] [-d] [-f [...]] [-o [...]] [-a [...]] [-s [...]] [-v] [run]
positional arguments:
run Run rubric & initialize the project scaffold.
optional arguments:
-h, --help Show this help message and exit.
-l, --list List the config files that are about to be generated.
-d , --dirname Target directory name.
-f [ ...], --filename [ ...]
Target file names. Allowed values are: all, .flake8, .gitignore,
README.md, makefile, pyproject.toml, requirements-dev.in,
requirements-dev.txt, requirements.in, requirements.txt.
-o [ ...], --overwrite [ ...]
Overwrite existing config files. Allowed values are the same as the
values accepted by the '-f/--file' flag.
-a [ ...], --append [ ...]
Append to existing config files. Allowed values are the same as the
values accepted by the '-f/--file' flag.
-s [ ...], --show [ ...]
Display the config file contents. Allowed values are the same as
the values accepted by the '-f/--file' flag.
-v, --version Display the version number.