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:
parent
7428340b44
commit
0a89ecb9ea
1 changed files with 1 additions and 1 deletions
2
tasks.py
2
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",
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue