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

More pylint fixes #133

Merged
merged 19 commits into from
Nov 20, 2022
Merged

More pylint fixes #133

merged 19 commits into from
Nov 20, 2022

Conversation

marksmayo
Copy link
Contributor

Including some newly introduced ones when I rebased

Removed unnecessary ...  elipsis after comment / doc blocks
Removed fstring when no interpolation of variables
Merging from miksus base
Trailing whitespace and more
@Miksus
Copy link
Owner

Miksus commented Nov 1, 2022

Thanks! I'll try to check and merge before the end of the week. Sorry for the delay.

Copy link
Owner

@Miksus Miksus left a comment

Choose a reason for hiding this comment

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

Just some (perhaps opinionated) suggestions to leave the "..." in some code snippets in the documentation to indicate a placeholder and there should be more code in practice.

For example:

def do_things():
    "This does things"
    ...

Vs:

def do_things():
    "This does things"

docs/code/conds/api/cron_kwargs.py Show resolved Hide resolved
docs/code/snippets/custom_condition.py Outdated Show resolved Hide resolved
docs/code/demos/intermediate.py Outdated Show resolved Hide resolved
docs/code/demos/intermediate.py Outdated Show resolved Hide resolved
docs/code/demos/intermediate.py Outdated Show resolved Hide resolved
docs/code/conds/api/crontime_kwargs.py Outdated Show resolved Hide resolved
docs/code/conds/api/crontime_kwargs.py Show resolved Hide resolved
docs/code/conds/api/crontime.py Outdated Show resolved Hide resolved
docs/code/conds/api/cron_kwargs.py Outdated Show resolved Hide resolved
docs/code/conds/api/cron.py Outdated Show resolved Hide resolved
@Miksus
Copy link
Owner

Miksus commented Nov 15, 2022

Sorry it took almost a month to review (had a bad week, a busy week and a small side project). I think all of those changes are appropriate but I think some of those placehoder ... could be left in the snippets in the docs.

That contribution.md is also a nice addition. Perhaps will motivate others to do an excellent work for the library just as you have done :) Though I would emphasise your fixes role more as you have significantly cleaned up the code base.

reintroduce ellipsis
reintroduce ellipsis
reintroduce ellipsis
reintroduce ellipsis
@codecov-commenter
Copy link

codecov-commenter commented Nov 15, 2022

Codecov Report

Base: 94.88% // Head: 94.90% // Increases project coverage by +0.02% 🎉

Coverage data is based on head (49528b0) compared to base (7765b53).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #133      +/-   ##
==========================================
+ Coverage   94.88%   94.90%   +0.02%     
==========================================
  Files          80       80              
  Lines        4454     4454              
==========================================
+ Hits         4226     4227       +1     
+ Misses        228      227       -1     
Impacted Files Coverage Δ
rocketry/parse/_setup_cond_parsers.py 100.00% <ø> (ø)
rocketry/args/builtin.py 98.50% <100.00%> (ø)
rocketry/conditions/api.py 98.36% <100.00%> (ø)
rocketry/conditions/task/task.py 93.87% <100.00%> (ø)
rocketry/core/schedule.py 93.50% <100.00%> (+0.36%) ⬆️
rocketry/core/task.py 91.41% <100.00%> (ø)
rocketry/log/log_record.py 100.00% <100.00%> (ø)
rocketry/session.py 95.72% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor Author

@marksmayo marksmayo left a comment

Choose a reason for hiding this comment

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

Think I've made them all

@marksmayo
Copy link
Contributor Author

Still says changes requested but I think I've resolved all? Just pulling in latest from your repo to see if I've missed any new ones

trailing whitespace issues
@Miksus
Copy link
Owner

Miksus commented Nov 20, 2022

Yep, looks good. Thanks again for the fixes and sorry for the immense delay. I now booked an hour every week to go through PRs and issues so hopefully, there won't be the same delay anymore.

@Miksus Miksus merged commit 532a843 into Miksus:master Nov 20, 2022
@marksmayo
Copy link
Contributor Author

All good. I'm still learning so in no hurry.

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.

None yet

3 participants