Skip to content

Commit

Permalink
CP-49148: Remove unused xc.py
Browse files Browse the repository at this point in the history
- Use python3 shebang for pytype_reporter.py and test_usb_scan.py
- Remove unused xc.py

Signed-off-by: Stephen Cheng <stephen.cheng@cloud.com>
  • Loading branch information
stephenchengCloud committed Jul 31, 2024
1 parent 2facf21 commit 9ea77ae
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/other.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:

- name: Run pytype checks
if: ${{ matrix.python-version != '2.7' }}
run: pip install pandas pytype toml && ./pytype_reporter.py
run: pip3 install pandas pytype toml && ./pytype_reporter.py
env:
PR_NUMBER: ${{ github.event.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion python3/tests/test_usb_scan.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python3
#
# unittest for usb_scan.py

Expand Down
2 changes: 1 addition & 1 deletion pytype_reporter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python3
"""GitHub action workflow Runner for pytype which works also locally without GitHub"""
import json
import re
Expand Down
12 changes: 0 additions & 12 deletions scripts/xc.py

This file was deleted.

0 comments on commit 9ea77ae

Please sign in to comment.