Skip to content

Commit 43a1315

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 878c992 commit 43a1315

17 files changed

Lines changed: 38 additions & 38 deletions

.github/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ version-resolver:
3939
- 'security'
4040

4141
exclude-labels:
42-
- 'skip-changelog'
42+
- 'skip-changelog'

.github/workflows/check-pr-title.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ jobs:
1515
steps:
1616
- uses: amannn/action-semantic-pull-request@v6
1717
env:
18-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/pr-auto-label.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
// 检查第一个单词或前缀是否匹配关键词
4848
for (const word of words) {
4949
const normalizedWord = word.toLowerCase().replace(/^[\W_]+|[\W_]+$/g, '');
50-
50+
5151
if (keywordMap.hasOwnProperty(normalizedWord)) {
5252
labelsToAdd.add(keywordMap[normalizedWord]);
5353
break; // 找到第一个匹配就停止
@@ -79,4 +79,4 @@ jobs:
7979
labels: labelsArray
8080
});
8181
console.log('New labels added successfully');
82-
}
82+
}

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ python:
2929
install:
3030
- requirements: requirements.txt
3131
# - method: setuptools
32-
# path: .
32+
# path: .

docs/source/conf.py

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,26 @@
3131
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3232
# ones.
3333
extensions = [
34-
'sphinx.ext.autodoc',
35-
'sphinx.ext.viewcode',
36-
'myst_parser',
34+
'sphinx.ext.autodoc',
35+
'sphinx.ext.viewcode',
36+
'myst_parser',
3737
'sphinxcontrib.inkscapeconverter',
3838
'sphinxcontrib.jquery']
3939

4040
myst_enable_extensions = [
41-
"amsmath",
42-
"colon_fence",
43-
"deflist",
44-
"dollarmath",
45-
"fieldlist",
46-
"html_admonition",
47-
"html_image",
48-
"linkify",
49-
"replacements",
50-
"smartquotes",
51-
"strikethrough",
52-
"substitution",
53-
"tasklist",
41+
'amsmath',
42+
'colon_fence',
43+
'deflist',
44+
'dollarmath',
45+
'fieldlist',
46+
'html_admonition',
47+
'html_image',
48+
'linkify',
49+
'replacements',
50+
'smartquotes',
51+
'strikethrough',
52+
'substitution',
53+
'tasklist',
5454
]
5555

5656
# Add any paths that contain templates here, relative to this directory.
@@ -82,4 +82,4 @@
8282
latex_elements = {
8383
'preamble': '\\usepackage[UTF8]{ctex}\n',
8484
'extraclassoptions': 'openany,oneside',
85-
}
85+
}

docs/source/development.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
development/migration.md
2020
development/sphinx.md
2121
development/codecov.md
22-
development/bug.md
22+
development/bug.md
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
recursive-include gvasp/pot POTCAR *.bindat
1+
recursive-include gvasp/pot POTCAR *.bindat

docs/source/development/migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
```bash
66
conda pack -n gvasp -o gvasp.tar.gz
7-
```
7+
```

docs/source/development/mirror.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ The conda tool can modify its original mirrors by modify the :file:`~/.condrc`,
1414
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
1515
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
1616
17-
Pip Mirror
17+
Pip Mirror
1818
-----------
1919

2020
The pip tool can modify its original mirrors by add a :file:`~/.pip/pip.conf`, for example:
2121

2222
.. code-block:: bash
23-
23+
2424
[global]
25-
index-url = https://mirrors.aliyun.com/pypi/simple
25+
index-url = https://mirrors.aliyun.com/pypi/simple

docs/source/development/package.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,4 +221,4 @@ Install package can do this:
221221
222222
conda install package
223223
224-
重新安装同版本的包时,加入参数 :code:`--force-reinstall`
224+
重新安装同版本的包时,加入参数 :code:`--force-reinstall`

0 commit comments

Comments
 (0)