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

Minimizing config file #1983

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

sosa-e
Copy link
Contributor

@sosa-e sosa-e commented Apr 14, 2023

This PR is a work in progress to solve #1437

Checklist

  • Type annotations added to new functions
  • Docs added to functions touched in main classes
  • Dry-run produced the expected results
  • The to-be-announced tag added if this is worth announcing

Comment on lines +18 to +19
days_lookup: int = 365,
max_days_in_cache: int = 7
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In reference to #1437 (comment), both days_lookup and max_days_in_cache are used outside the auto_nag/scripts directory:

Refactoring these is a bit less straightforward, so let us keep it outside the scope of this pull request.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it. Since they are used outside the directory, I should remove them from the init function, correct?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

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.

2 participants