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

feat: add caching and telemetry options #14

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

mundanevision20
Copy link

Hi @opeco17,
I just found this interesting plugin for poetry. I'm a happy user of poetry since a few days. I also discovered poetry up and tested it on this repo.

After upgrading the pip requirements I read more about the safety module. Apparently they enable telemetry by default. So I added an option to this plugin to disable this behaviour.

I also learnt that the caching of the PyUp database used by safety is apparently disabled by default. So I also added a option to cache the database for 1 hour on the hard disk (they use a JSON file in ~/.safety/cache.json sized ca. 130kb).

Unfortunately I didn't manage to get the tests working :(

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

Successfully merging this pull request may close these issues.

1 participant