Skip to content

Commit 424e942

Browse files
committed
Usual update
1 parent 40a52a8 commit 424e942

File tree

5 files changed

+169
-142
lines changed

5 files changed

+169
-142
lines changed

.pre-commit-config.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
fail_fast: false
2+
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v4.5.0
6+
hooks:
7+
- id: check-toml
8+
- id: check-yaml
9+
- id: trailing-whitespace
10+
- id: end-of-file-fixer
11+
12+
- repo: https://github.com/psf/black
13+
rev: 23.10.1
14+
hooks:
15+
- id: black
16+
args: [--config, "./pyproject.toml"]
17+
18+
- repo: https://github.com/pycqa/isort
19+
rev: 5.12.0
20+
hooks:
21+
- id: isort
22+
args: [--settings-path, "./pyproject.toml"]

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
![GitHub Repo stars](https://img.shields.io/github/stars/muziing/PySide6-Code-Tutorial)
88
![License](https://img.shields.io/github/license/muziing/PySide6-Code-Tutorial)
99
![GitHub Last Commit](https://img.shields.io/github/last-commit/muziing/PySide6-Code-Tutorial)
10-
[![PySide Version](https://img.shields.io/badge/PySide-6.5-blue)](https://doc.qt.io/qtforpython/index.html)
10+
[![PySide Version](https://img.shields.io/badge/PySide-6.6-blue)](https://doc.qt.io/qtforpython/index.html)
1111
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
1212
[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)
13-
[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
13+
[![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/)
1414

1515
## 简介
1616

@@ -21,7 +21,7 @@
2121
- 在自己的机器上实际运行一下,仔细观察一下每个属性值的改变会怎样影响控件的外观行为,可能比静态的文档教程更有效
2222
- 前身为 GitHub 热度最高的中文 PyQt5 教程 [PyQt-Practice](https://github.com/muziing/PyQt_practice),目前已有 ![PyQt-Practice Stars](https://img.shields.io/github/stars/muziing/PyQt_practice.svg) 个 Stars
2323
- 相比 [PyQt-Practice](https://github.com/muziing/PyQt_practice),改进了项目目录结构,增加了部分内容,更加清晰丰富
24-
- 使用最新的 Python 与 PySide 版本(目前为`3.11``6.5`
24+
- 使用最新的 Python 与 PySide 版本(目前为`3.11``6.6`
2525

2626
希望本项目对你我的 Python-GUI 学习之旅有所帮助。
2727

@@ -35,9 +35,9 @@
3535

3636
1. Star 本仓库
3737
2. 通过以下方法之一获取源码
38-
- 克隆仓库(推荐):`git clone https://github.com/muziing/PySide6-Code-Tutorial.git`
39-
- 下载 zip:<https://github.com/muziing/PySide6-Code-Tutorial/archive/refs/heads/main.zip>
40-
- 查看 [Releases](https://github.com/muziing/PySide6-Code-Tutorial/releases) 界面,下载最新发布版(文件更小)
38+
- 克隆仓库(推荐):`git clone https://github.com/muziing/PySide6-Code-Tutorial.git`
39+
- 下载 zip:<https://github.com/muziing/PySide6-Code-Tutorial/archive/refs/heads/main.zip>
40+
- 查看 [Releases](https://github.com/muziing/PySide6-Code-Tutorial/releases) 界面,下载最新发布版(文件更小)
4141
3. 进入项目目录
4242

4343
### 二、配置虚拟环境与安装依赖
@@ -56,11 +56,11 @@
5656

5757
1. 确保 Python 版本与 [pyproject.toml](./pyproject.toml) 中要求的一致
5858
2. 创建虚拟环境
59-
- Windows: `python -m venv --upgrade-deps venv`
60-
- Linux/macOS: `python3 -m venv --upgrade-deps venv`
59+
- Windows: `python -m venv --upgrade-deps venv`
60+
- Linux/macOS: `python3 -m venv --upgrade-deps venv`
6161
3. 激活虚拟环境
62-
- Windows: `venv\Scripts\activate`
63-
- Linux/macOS: `. venv/bin/activate`
62+
- Windows: `venv\Scripts\activate`
63+
- Linux/macOS: `. venv/bin/activate`
6464
4. 安装依赖:`pip install -r requirements.txt`
6565

6666
**方式 C** :其他包管理工具
@@ -142,4 +142,4 @@ PySide6 Code Tutorial 是一个开源项目,非常期待以及感谢你的参
142142

143143
本项目的[主要作者/维护者](https://muzing.top/about/)是一名还没有收入的在校学生,如果本项目对你有帮助,希望可以请他喝一杯冰可乐 :beer:
144144

145-
![微信收款码](./Resources/Images/muzing-WeChat-Collection-QRCode.png)
145+
![微信收款码](./Resources/Images/muzing-WeChat-Collection.png)
38.6 KB
Loading

0 commit comments

Comments
 (0)