Skip to content

Commit fcf31a9

Browse files
committed
Merge branch 'master' of https://github.com/SECTL/SecRandom
2 parents 5eaa9b6 + 461e5ff commit fcf31a9

File tree

5 files changed

+62
-60
lines changed

5 files changed

+62
-60
lines changed

.github/workflows/codeQL.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
name: CodeQL
22

33
on:
4-
push:
5-
branches: [master]
6-
pull_request:
4+
push:
5+
branches: [master]
6+
pull_request:
77

88
jobs:
9-
analyze:
10-
name: CodeQL Analysis
11-
runs-on: ubuntu-latest
12-
permissions:
13-
actions: read
14-
contents: read
15-
security-events: write
9+
analyze:
10+
name: CodeQL Analysis
11+
runs-on: ubuntu-latest
12+
permissions:
13+
actions: read
14+
contents: read
15+
security-events: write
1616

17-
steps:
18-
- name: Checkout repository
19-
uses: actions/checkout@v4
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v4
2020

21-
- name: Initialize CodeQL
22-
uses: github/codeql-action/init@v3
23-
with:
24-
languages: python
21+
- name: Initialize CodeQL
22+
uses: github/codeql-action/init@v3
23+
with:
24+
languages: python
2525

26-
- name: Autobuild (optional for Python)
27-
uses: github/codeql-action/autobuild@v3
26+
- name: Autobuild (optional for Python)
27+
uses: github/codeql-action/autobuild@v3
2828

29-
- name: Perform CodeQL Analysis
30-
uses: github/codeql-action/analyze@v3
29+
- name: Perform CodeQL Analysis
30+
uses: github/codeql-action/analyze@v3

.github/workflows/pre-commit.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
name: Pre-commit
22

33
on:
4-
push:
5-
branches: [master]
6-
pull_request:
7-
workflow_dispatch:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
workflow_dispatch:
88

99
jobs:
10-
pre-commit:
11-
runs-on: ubuntu-22.04
12-
steps:
13-
- uses: actions/checkout@v4
10+
pre-commit:
11+
runs-on: ubuntu-22.04
12+
steps:
13+
- uses: actions/checkout@v4
1414

15-
- name: Setup uv
16-
uses: astral-sh/setup-uv@v4
17-
with:
18-
enable-cache: true
15+
- name: Setup uv
16+
uses: astral-sh/setup-uv@v4
17+
with:
18+
enable-cache: true
1919

20-
- name: Install Python 3.8.10
21-
run: uv python install 3.8.10
20+
- name: Install Python 3.8.10
21+
run: uv python install 3.8.10
2222

23-
- name: set uv venv
24-
run: uv venv
25-
- name: Install pre-commit with uv
26-
run: uv pip install pre-commit
23+
- name: set uv venv
24+
run: uv venv
25+
- name: Install pre-commit with uv
26+
run: uv pip install pre-commit
2727

28-
- name: Run pre-commit on all files
29-
run: pre-commit run --all-files
28+
- name: Run pre-commit on all files
29+
run: uv run pre-commit run --all-files

.github/workflows/ruff.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
name: Ruff
22

33
on:
4-
push:
5-
branches: [master]
6-
pull_request:
4+
push:
5+
branches: [master]
6+
pull_request:
77

88
jobs:
9-
ruff:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- uses: actions/checkout@v4
9+
ruff:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
1313

14-
- name: Setup uv
15-
uses: astral-sh/setup-uv@v3
16-
with:
17-
enable-cache: true
14+
- name: Setup uv
15+
uses: astral-sh/setup-uv@v3
16+
with:
17+
enable-cache: true
1818

19-
- name: Setup Python
20-
run: uv python install 3.8.10
19+
- name: Setup Python
20+
run: uv python install 3.8.10
2121

22-
- name: Set up venv
23-
run: uv venv
24-
- name: Install Ruff via uv
25-
run: uv pip install ruff
22+
- name: Set up venv
23+
run: uv venv
24+
- name: Install Ruff via uv
25+
run: uv pip install ruff
2626

27-
- name: Run Ruff
28-
run: ruff check --output-format=github .
27+
- name: Run Ruff
28+
run: uv run ruff check --output-format=github .

app/page_building/another_window.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ def create_group_setting_window():
151151
class contributor_window_template(PageTemplate):
152152
"""贡献者窗口类
153153
使用PageTemplate创建贡献者页面"""
154+
154155
def __init__(self, parent=None):
155156
super().__init__(content_widget_class=contributor_page, parent=parent)
156157

app/view/settings/extraction_settings/custom_draw_settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
from app.tools.settings_access import *
1515
from app.Language.obtain_language import *
1616

17+
1718
# ==================================================
1819
# 自定义抽设置
1920
# ==================================================

0 commit comments

Comments
 (0)