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

Drop six #271

Merged
merged 3 commits into from
Feb 25, 2025
Merged

Drop six #271

merged 3 commits into from
Feb 25, 2025

Conversation

nzlosh
Copy link
Contributor

@nzlosh nzlosh commented Feb 23, 2025

No description provided.

(cherry picked from commit 677afbe)
@nzlosh nzlosh requested a review from a team February 23, 2025 10:55
Copy link
Member

@cognifloyd cognifloyd left a comment

Choose a reason for hiding this comment

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

The six changes look good.

I think the copyright lines only need the original date (the date the file was created) of the copyright. I really don't like the idea of updating all files every year just to bump a copyright line.

Comment on lines -486 to +488
constants.TASK_STATE_ROUTE_FORMAT % (entry["id"], str(entry["route"]))
if entry["route"] > 0
else entry["id"]
(
constants.TASK_STATE_ROUTE_FORMAT % (entry["id"], str(entry["route"]))
if entry["route"] > 0
else entry["id"]
)
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 see changes due to six here. Was this change (and some below) caused by black?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I ran black after making code changes so I didn't hit linting errors. I should have made it two separate commits.

@nzlosh
Copy link
Contributor Author

nzlosh commented Feb 24, 2025

Do you want the date ranges restored to the original commit date?

@cognifloyd
Copy link
Member

I think 2021 is the first date because that's when it was donated to the Linux Foundation. Adding the copyright line in the files where it is missing makes sense. For the rest, please remove the -2025. We can use 2025 on a file if we add it this year.

Copy link
Member

@cognifloyd cognifloyd left a comment

Choose a reason for hiding this comment

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

2 more copyright fixes and then I'll approve.

@@ -1,3 +1,4 @@
# Copyright 2020 The StackStorm Authors.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# Copyright 2020 The StackStorm Authors.
# Copyright 2021 The StackStorm Authors.

@@ -1,3 +1,4 @@
# Copyright 2020-2025 The StackStorm Authors.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# Copyright 2020-2025 The StackStorm Authors.
# Copyright 2021 The StackStorm Authors.

@cognifloyd cognifloyd merged commit 544940d into StackStorm:master Feb 25, 2025
5 checks passed
@nzlosh nzlosh deleted the drop_six branch February 25, 2025 07:12
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