Skip to content

Commit

Permalink
更新 update_hosts.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sinspired authored Dec 7, 2024
1 parent 081e922 commit ddab2b2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/update_hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Update hosts
on:
push:
paths:
- 'update_hosts.yml'
- 'setHosts.py'
- 'setHosts_Classic.py'
- 'requirements.txt'
Expand Down Expand Up @@ -31,12 +30,12 @@ jobs:

- name: Install formatting tools
run: |
pip install black flake8 isort
pip install --upgrade black flake8 isort
- name: Run and fix formatting
run: |
#black --line-length 88 .
black --line-length 88 --force-exclude setDNS.py
black --line-length 88 setDNS.py
isort .
echo “继续”
flake8 --max-line-length=88 .
Expand Down Expand Up @@ -72,7 +71,7 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pip
sudo pip install -r requirements.txt
- name: Run hosts update script1
Expand Down

0 comments on commit ddab2b2

Please sign in to comment.