Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/lisai9093/YYS
Browse files Browse the repository at this point in the history
  • Loading branch information
lisai9093 committed Dec 19, 2023
2 parents f8cb46a + c4e9cae commit 28d411d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Pylint

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
3 changes: 1 addition & 2 deletions action.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cv2,time,os,random,sys,mss,copy,subprocess
import cv2,time,os,random,sys,mss,copy,subprocess,pyautogui
import numpy
from PIL import ImageGrab

Expand Down Expand Up @@ -55,7 +55,6 @@ def startup():
else:
print('未监测到ADB设备,默认使用桌面版')
adb_enable=False
import pyautogui
pyautogui.FAILSAFE=False

#检测系统
Expand Down

0 comments on commit 28d411d

Please sign in to comment.