Skip to content

Commit 6e7fd4b

Browse files
Add a basic check that the new conf example do not crash
1 parent 3594480 commit 6e7fd4b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tbump.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,18 @@ cmd = "tox -e docs||echo 'Hack so this command does not fail'"
3636
name = "Upgrade the pylintrc examples"
3737
cmd = "pylint --rcfile=/dev/null --generate-rcfile > examples/pylintrc"
3838

39+
[[before_commit]]
40+
name = "Check that the new pylintrc example is correct"
41+
cmd = "pylint --rcfile=examples/pylintrc setup.py"
42+
3943
[[before_commit]]
4044
name = "Upgrade the toml examples"
4145
cmd = "pylint --rcfile=/dev/null --generate-toml-config > examples/pyproject.toml"
4246

47+
[[before_commit]]
48+
name = "Check that the new toml example is correct"
49+
cmd = "pylint --rcfile=examples/pyproject.toml setup.py"
50+
4351
[[before_commit]]
4452
name = "Normalize the contributors-txt configuration"
4553
cmd = "contributors-txt-normalize-configuration -a script/.contributors_aliases.json -o script/.contributors_aliases.json"

0 commit comments

Comments
 (0)