-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No such file or directory: 'flake8' #771
Comments
Hi @jedie, thanks for the report! I didn't yet succeed to reproduce, could you advise? uv venv
. .venv/bin/activate
uv pip install darker==2.1.1 flake8==7.1.1
darker --diff --lint=flake8 ~/mypackage/src The above commands succeed, and these packages are installed in $ uv pip freeze
...
darker==2.1.1
...
flake8==7.1.1
graylint==1.1.1
... I also tried
Still succeeds in both cases. |
Looking at items from your {'root': PosixPath('/tmp/tmpunxe_xsq/baseline-revision/cookiecutter_templates'),
'paths': {PosixPath('generated_templates/make-uv-python/your_cool_package/.venv/bin')}, it seems the only 'env': {
'PWD': '/home/jens/repos/cookiecutter_templates/generated_templates/make-uv-python/your_cool_package/.venv/bin', Graylint likes to 'PATH': '/home/jens/.local/bin:/home/jens/.local/bin:/home/jens/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', ...and for some reason your that Do you get the same behavior if you
|
Darker didn't find flake8... It's installed in
.venv
, but raised this error:Version info:
I add a
pp(locales())
intograylint.linting._check_linter_output()
just before thePopen()
call, looks like:The text was updated successfully, but these errors were encountered: