File tree Expand file tree Collapse file tree 3 files changed +29
-2
lines changed
Expand file tree Collapse file tree 3 files changed +29
-2
lines changed Original file line number Diff line number Diff line change @@ -122,4 +122,31 @@ jobs:
122122
123123 - name : Check code style
124124 run : |
125- pdm run black --check --verbose
125+ pdm run black --check --verbose
126+
127+ mdformat :
128+ name : mdformat
129+ runs-on : ubuntu-latest
130+ steps :
131+ - name : Checkout
132+ uses : actions/checkout@v4
133+ with :
134+ fetch-depth : 0
135+
136+ - name : Set up Python 3.13
137+ uses : actions/setup-python@v4
138+ with :
139+ python-version : " 3.13"
140+
141+ - name : Install PDM
142+ run : |
143+ python -m pip install --upgrade pip
144+ pip install pdm
145+
146+ - name : Install dependencies
147+ run : |
148+ pdm install -G:all
149+
150+ - name : Check markdown style
151+ run : |
152+ pdm run mdformat --check --exclude ".venv/**"
Original file line number Diff line number Diff line change 77[ ![ Checked with mypy] ( https://www.mypy-lang.org/static/mypy_badge.svg )] ( https://mypy-lang.org/ )
88[ ![ Code style: black] ( https://img.shields.io/badge/code%20style-black-000000.svg )] ( https://github.com/psf/black )
99[ ![ Imports: isort] ( https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336 )] ( https://pycqa.github.io/isort/ )
10+ [ ![ Doc style: MDformat] ( https://img.shields.io/badge/doc_style-mdformat-1c55ff?style=flat )] ( https://mdformat.readthedocs.io/en/stable/ )
1011[ ![ Python 3.13+] ( https://img.shields.io/badge/python-3.13+-blue.svg )] ( https://www.python.org/downloads/release/python-3130/ )
1112[ ![ License: AGPL v3] ( https://img.shields.io/badge/License-AGPL%20v3-blue.svg )] ( https://www.gnu.org/licenses/agpl-3.0 )
1213
Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ codeformatters = [
7373extensions = [
7474 " gfm"
7575]
76- exclude = [" .venv/**" ]
7776
7877[tool .pytest .ini_options ]
7978testpaths = [" tests" ]
You can’t perform that action at this time.
0 commit comments