diff --git a/tasks.py b/tasks.py index a0cee5f9e..e19476202 100644 --- a/tasks.py +++ b/tasks.py @@ -108,7 +108,7 @@ def lint_py(context: Context, fix: bool = False): context.run("black --check --diff .") in_py( context, - f"flake8 --toml-config {ROOT / 'pyproject.toml'} .", + f"flake8 --toml-config '{ROOT / 'pyproject.toml'}' .", "hatch run lint:all", )