From 133e2e59394528e3c2c16fd7ea921796bfcbef8d Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Tue, 10 May 2022 11:18:32 +0200 Subject: Upgrade configuration example and add toml example (#6529) * Add a pyproject.toml example and an automated upgrade for release * Upgrade the pylintrc example following migration to argparse --- tbump.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tbump.toml') diff --git a/tbump.toml b/tbump.toml index 27a7db71a..773efeea5 100644 --- a/tbump.toml +++ b/tbump.toml @@ -36,6 +36,10 @@ cmd = "tox -e docs||echo 'Hack so this command does not fail'" name = "Upgrade the pylintrc examples" cmd = "pylint --rcfile=/dev/null --generate-rcfile > examples/pylintrc" +[[before_commit]] +name = "Upgrade the toml examples" +cmd = "pylint --rcfile=/dev/null --generate-toml-config > examples/pyproject.toml" + [[before_commit]] name = "Normalize the contributors-txt configuration" cmd = "contributors-txt-normalize-configuration -a script/.contributors_aliases.json -o script/.contributors_aliases.json" -- cgit v1.2.1