From 0b1e3ee299fd0eae0d85637fb469934743bc7c38 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Thu, 10 Feb 2022 08:56:27 -0600 Subject: Add support for recursive variables (#44) * Use `self` in pyproject * Add support for recursive variables * Remove duplicate psutil from pyproject * Tweak implementation based on issue feedback * Add type hint to vars_dict * Use `count_of_previously_resolved_vars` name * Clarify test name * Revert refactor and use tuple for variable type return * Add non recursive variable test case * Alter test case name * Add recursive variable docs * Add recursive variables to table of contents * Use PyProject to access static methods * Add better handling of invalid variables * Fix lockfile hash * Move variable import * Only resolve variables once if we are using vars * Fix minor type issue * Reword error message --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 6708d32..df657cb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ colorama = "^0.4.4" pylint = "^2.4.4" mypy = "^0.812" rope = "^0.14.0" -psutil = "^5.6.7" +parameterized = "^0.8.1" [tool.taskipy.tasks] test = { cmd = "python -m unittest -v tests/test_*.py", help = "runs all tests" } -- cgit v1.2.3