Skip to content

Conversation

@tboerger
Copy link
Contributor

Fixes #23

@tboerger tboerger requested a review from a team September 11, 2019 11:57

func (p *Plugin) playbooks() error {
var playbooks []string
var (
Copy link

Choose a reason for hiding this comment

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

why expand this for single local variable definition?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because it's done with that schema on all plugins.

Copy link

Choose a reason for hiding this comment

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

For global variables yes but at least from drone code func local variables are defined as var xxx ..

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not within the plugin org, I have written that like it on every plugin that I have authored.

Copy link

Choose a reason for hiding this comment

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

oh, ok, I was just asking ;)

@tboerger tboerger merged commit 9b66664 into master Sep 12, 2019
@delete-merged-branch delete-merged-branch bot deleted the python3-upgrade branch September 12, 2019 06:01
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.

Add Python 3 support before 2.7 EoL

3 participants