1
0
Fork 0
mirror of synced 2024-05-19 11:42:40 +12:00

Add markdown linter to format check

This commit is contained in:
Serene-Arc 2022-12-03 16:34:23 +10:00
parent ee095d4814
commit 5427ceb29a
3 changed files with 6 additions and 0 deletions

View file

@ -7,5 +7,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: paolorechia/pox@v1.0.1
- uses: actionshub/markdownlint@main
with:
tox_env: "format_check"

3
.markdown_style.rb Normal file
View file

@ -0,0 +1,3 @@
all
exclude_tag :line_length
rule 'MD007', :indent => 4

View file

@ -17,9 +17,11 @@ deps =
isort
black
skip_install = True
allowlist_externals = mdl
commands =
isort bdfr tests --check
black bdfr tests --line-length 120 --check
mdl README.md docs/ -s .markdown_style.rb
[isort]
profile = black