diff --git a/Makefile b/Makefile index 40a0678..27394c8 100755 --- a/Makefile +++ b/Makefile @@ -3,9 +3,11 @@ # Test in an isolated Python environment. # uv python pin to set the version. test: - (env -u PYTHONPATH uv run --isolated --python 3.13 python -m pytest) + (env -u PYTHONPATH uv run --isolated --python 3.13 \ + --with petl --with pytest Python -m pytest) test-all: for V in 3.7 3.8 3.9 3.10 3.11 3.12 3.13 ; do \ - (env -u PYTHONPATH uv run --isolated --python $$V python -m pytest) ; \ + (env -u PYTHONPATH uv run --isolated --python $$V \ + --with petl --with pytest Python -m pytest) \ done diff --git a/beangulp/__init__.py b/beangulp/__init__.py index eef15a7..21ac74f 100644 --- a/beangulp/__init__.py +++ b/beangulp/__init__.py @@ -326,5 +326,5 @@ def cli(ctx): self.cli = cli - def __call__(self): - return self.cli() + def __call__(self, **kwargs): + return self.cli(**kwargs)