Skip to content
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

Check-project generates boatload of permission denied errors #38

Closed
felixogg-britned opened this issue Jun 30, 2023 · 2 comments · Fixed by #39
Closed

Check-project generates boatload of permission denied errors #38

felixogg-britned opened this issue Jun 30, 2023 · 2 comments · Fixed by #39

Comments

@felixogg-britned
Copy link

Describe the bug
After setting up a polylith repo, with a first base and component in it, the check-project command generated some fixes, on first run and none on second run. However on both runs it ends with a long list of permission denied errors.

Error Log
Export of console session (windows under poetry shell). I had to redact some content, but I think it clearly seems to be looking into .git subfolders, where I don't think it should go.
scratch_1.txt

Expected behavior
Run without permission denied errors

Desktop (please complete the following information):

  • OS: Windows 11 Pro 22H2
  • Python version: 3.11.2
  • Poetry version: 1.5.1
@DavidVujic
Copy link
Owner

Thank you for reporting this! It looks like there is a .git folder in there, that should have been ignored. I'll have a look.

Meanwhile, since you are a Polylith user, there is probably better ways to check the code. This command was developed later, and without the quite slow mypy checks that the check-project command does under the hood.

poetry poly check

More here: https://davidvujic.github.io/python-polylith-docs/commands/

@DavidVujic
Copy link
Owner

There's a new version of the Multiproject plugin out, hopefully solving your issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants