-
Notifications
You must be signed in to change notification settings - Fork 24.6k
[BE] add a linter to check consistency for cmake minimum version in requirements #156961
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
base: gh/XuehaiPan/336/base
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/156961
Note: Links to docs will display an error until the docs builds have been completed. This comment was automatically generated by Dr. CI and updates every 15 minutes. |
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/156961
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 9d65d13 with merge base 4ce6e6e ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
…equirements ghstack-source-id: c193d7f Pull-Request: pytorch#156961
But CMake update is not a frequent action (3-4 years), it is not worth the check cost. |
The linter is used to check consistency across multiple files, helping to avoid mistakes when updating the version manually. |
…equirements ghstack-source-id: 3ef0ba5 Pull-Request: pytorch#156961
…equirements ghstack-source-id: 3ef0ba5 Pull-Request: pytorch#156961
…equirements ghstack-source-id: 3ef0ba5 Pull-Request: pytorch#156961
) | ||
args = parser.parse_args() | ||
|
||
logging.basicConfig( |
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.
Nit: attach logging config to specific logger instead.
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.
It is copied from other files.
…equirements ghstack-source-id: 5efaa85 Pull-Request: pytorch#156961
…equirements ghstack-source-id: 5efaa85 Pull-Request: pytorch#156961
…equirements ghstack-source-id: c95f00a Pull-Request: pytorch#156961
…equirements ghstack-source-id: c95f00a Pull-Request: pytorch#156961
…equirements ghstack-source-id: c95f00a Pull-Request: pytorch#156961
…equirements ghstack-source-id: c95f00a Pull-Request: pytorch#156961
…equirements ghstack-source-id: c95f00a Pull-Request: pytorch#156961
…equirements ghstack-source-id: c95f00a Pull-Request: pytorch#156961
…equirements ghstack-source-id: c95f00a Pull-Request: pytorch#156961
Stack from ghstack (oldest at bottom):