-
Notifications
You must be signed in to change notification settings - Fork 53
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
Refactor unix cronjob plugin #1009
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Erik Schamper <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1009 +/- ##
==========================================
+ Coverage 77.77% 77.96% +0.18%
==========================================
Files 327 327
Lines 28659 28658 -1
==========================================
+ Hits 22290 22342 +52
+ Misses 6369 6316 -53
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
for file in self.crontabs: | ||
for line in file.open("rt"): | ||
line = line.strip() | ||
if line.startswith("#") or not len(line): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if line.startswith("#") or not len(line): | |
if line.startswith("#") or not line: |
This PR refactors the unix cronjob plugin and adds tests.