Rubric Versions Save

Linter config initializer for Python

v0.4.2

2 years ago
  • Now compatible with Python 3.10.
  • More tests.

v0.4.0

2 years ago

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

2 years ago
  • 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.

v0.3.8

2 years ago
  • Replaced the tuple containing file names with an enum class with additional descriptions.
  • Fixed error message.

0.3.7

2 years ago
  • Simplified output. The help text now takes less vertical space.
  • The internal argparse logic has been refactored for simplification.

0.3.6

2 years ago
  • Simplified output.
  • Freezing the internal API.
  • This is almost stable now.

v0.3.4

2 years ago
  • Minor dependency update.
  • This is now almost stable.

v0.3.3

2 years ago
  • makefile is now Makefile.
  • The contents of the makefile are now development workflow agnostic.

v0.3.2

2 years ago
  • Revamped the entire output.
  • Minimalistic header.
  • Better display format for the options.

v0.3.1

2 years ago
  • Added a -s/--show flag to print out the contents of one or more config files.
  • Added more tests.