Fixed FileNotFound error while running hatch run lint-py (#1023)

* Fixed FileNotFound error while running hatch run lint-py

* Revert previous changes and add minor fix
This commit is contained in:
Smit Parmar 2023-06-08 22:21:00 +05:30 committed by GitHub
parent 7428340b44
commit 0a89ecb9ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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",
)