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

CP-49922: mv scripts/probe-device-for-file to python3/libexec #5720

Merged

Conversation

ashwin9390
Copy link
Contributor

Main ticket CP-49100 :Move python3 scripts from scripts directory to python3 directory.

Sub task CP-49922:

  • Modified Makefile to include probe-device-for-file in python3 directory
  • Removed probe-device-for-file from scripts/Makefile
  • Fixed pylint issue

Signed-off-by: Ashwinh ashwin.h@cloud.com

@bernhardkaindl bernhardkaindl force-pushed the private/ashwin/CP-49922 branch 2 times, most recently from 1200163 to e73bb67 Compare June 24, 2024 14:03
Also fix multiple-import on same line and indentation/spacing.

Signed-off-by: Ashwinh <ashwin.h@cloud.com>
Copy link
Collaborator

@bernhardkaindl bernhardkaindl left a comment

Choose a reason for hiding this comment

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

Looks better now.

I cleaned up the very verbose commit message (that detail isn't needed there).

  • I also removed the obsolete line

    Fixed pyright error: "device" is unbound and error: "file" is unbound (reportUnboundVariable) issue
    (was caused by wrong indentation that broke the script).

    • That means: pyright already found a real bug that would have been introduced by wrong indentation (when making changes in this PR) otherwise.
    • I added a line to the commit message mentioning the not already described changes to fix the multiple-import warning and spacing/indentation:

      Also fix multiple-import on same line and indentation/spacing.

@bernhardkaindl bernhardkaindl changed the title CP-49922: Moved probe-device-for-file from scripts to python3/libexec directory CP-49922: mv scripts/probe-device-for-file to python3/libexec Jun 24, 2024
bernhardkaindl

This comment was marked as duplicate.

@psafont psafont merged commit 0d77a71 into xapi-project:feature/py3 Jun 25, 2024
14 checks passed
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.

3 participants