-
Notifications
You must be signed in to change notification settings - Fork 39
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
Drop six #271
Conversation
(cherry picked from commit 677afbe)
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.
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.
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"] | ||
) |
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.
I don't see changes due to six here. Was this change (and some below) caused by black?
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.
Yes, I ran black after making code changes so I didn't hit linting errors. I should have made it two separate commits.
Do you want the date ranges restored to the original commit date? |
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 |
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.
2 more copyright fixes and then I'll approve.
@@ -1,3 +1,4 @@ | |||
# Copyright 2020 The StackStorm Authors. |
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.
# Copyright 2020 The StackStorm Authors. | |
# Copyright 2021 The StackStorm Authors. |
orquesta/utils/jsonify.py
Outdated
@@ -1,3 +1,4 @@ | |||
# Copyright 2020-2025 The StackStorm Authors. |
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.
# Copyright 2020-2025 The StackStorm Authors. | |
# Copyright 2021 The StackStorm Authors. |
No description provided.