Add markdown linter to format check
This commit is contained in:
1
.github/workflows/formatting_check.yml
vendored
1
.github/workflows/formatting_check.yml
vendored
@@ -7,5 +7,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: paolorechia/pox@v1.0.1
|
- uses: paolorechia/pox@v1.0.1
|
||||||
|
- uses: actionshub/markdownlint@main
|
||||||
with:
|
with:
|
||||||
tox_env: "format_check"
|
tox_env: "format_check"
|
||||||
3
.markdown_style.rb
Normal file
3
.markdown_style.rb
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
all
|
||||||
|
exclude_tag :line_length
|
||||||
|
rule 'MD007', :indent => 4
|
||||||
2
tox.ini
2
tox.ini
@@ -17,9 +17,11 @@ deps =
|
|||||||
isort
|
isort
|
||||||
black
|
black
|
||||||
skip_install = True
|
skip_install = True
|
||||||
|
allowlist_externals = mdl
|
||||||
commands =
|
commands =
|
||||||
isort bdfr tests --check
|
isort bdfr tests --check
|
||||||
black bdfr tests --line-length 120 --check
|
black bdfr tests --line-length 120 --check
|
||||||
|
mdl README.md docs/ -s .markdown_style.rb
|
||||||
|
|
||||||
[isort]
|
[isort]
|
||||||
profile = black
|
profile = black
|
||||||
|
|||||||
Reference in New Issue
Block a user