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

enhance pyvenv tests #590

Merged
merged 1 commit into from
Dec 7, 2020
Merged

enhance pyvenv tests #590

merged 1 commit into from
Dec 7, 2020

Conversation

bastelfreak
Copy link
Member

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

@bastelfreak bastelfreak added the enhancement New feature or request label Dec 7, 2020
@bastelfreak bastelfreak self-assigned this Dec 7, 2020
@bastelfreak bastelfreak force-pushed the pipfoo branch 2 times, most recently from f41f1e7 to 4c62380 Compare December 7, 2020 16:53
apply_manifest(pp, catch_failures: true)
apply_manifest(pp, catch_changes: true)
end
describe command('/opt/agent/venv/bin/pip list') do
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't mind adding it, but rubocop doesn't complain at the moment:

$ bundle exec rake rubocop:auto_correct
Running RuboCop...
Inspecting 20 files
Parser::Source::Rewriter is deprecated.
Please update your code to use Parser::Source::TreeRewriter instead
....................

20 files inspected, no offenses detected

Copy link
Member

Choose a reason for hiding this comment

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

This does make it harder to read. I'd say to add the space and then consider adding that check to modulesync

Copy link
Member

Choose a reason for hiding this comment

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

I don't mind adding it, but rubocop doesn't complain at the moment:

I suspect this is because the version is too old to contain it.

apply_manifest(pp, catch_failures: true)
apply_manifest(pp, catch_changes: true)
end
describe command('/opt/agent/venv/bin/pip list') do
Copy link
Member

Choose a reason for hiding this comment

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

This does make it harder to read. I'd say to add the space and then consider adding that check to modulesync

@bastelfreak
Copy link
Member Author

added it

@bastelfreak bastelfreak merged commit 21abb33 into voxpupuli:master Dec 7, 2020
@bastelfreak bastelfreak deleted the pipfoo branch December 7, 2020 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants