Skip to content

Commit 578bfb5

Browse files
committed
fix(style): tag markdownlint.toml as a markdown style
1 parent 532ec06 commit 578bfb5

10 files changed

Lines changed: 34 additions & 7 deletions

File tree

README.rst

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,6 @@ any
190190
- `EditorConfig <https://editorconfig.org/>`_
191191
* - `py://nitpick/resources/any/git-legal <src/nitpick/resources/any/git-legal.toml>`_
192192
- `Git.legal - CodeClimate Community Edition <https://github.com/kmewhort/git.legal-codeclimate>`_
193-
* - `py://nitpick/resources/any/markdownlint <src/nitpick/resources/any/markdownlint.toml>`_
194-
- `Markdown lint <https://github.com/markdownlint/markdownlint>`_
195193
* - `py://nitpick/resources/any/pre-commit-hooks <src/nitpick/resources/any/pre-commit-hooks.toml>`_
196194
- `pre-commit hooks for any project <https://github.com/pre-commit/pre-commit-hooks>`_
197195
* - `py://nitpick/resources/any/prettier <src/nitpick/resources/any/prettier.toml>`_
@@ -219,6 +217,17 @@ kotlin
219217
* - `py://nitpick/resources/kotlin/ktlint <src/nitpick/resources/kotlin/ktlint.toml>`_
220218
- `ktlint <https://github.com/pinterest/ktlint>`_
221219

220+
markdown
221+
~~~~~~~~
222+
223+
.. list-table::
224+
:header-rows: 1
225+
226+
* - Style URL
227+
- Description
228+
* - `py://nitpick/resources/markdown/markdownlint <src/nitpick/resources/markdown/markdownlint.toml>`_
229+
- `Markdown lint <https://github.com/markdownlint/markdownlint>`_
230+
222231
presets
223232
~~~~~~~
224233

docs/library.rst

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ any
3131
- `EditorConfig <https://editorconfig.org/>`_
3232
* - :gitref:`py://nitpick/resources/any/git-legal <src/nitpick/resources/any/git-legal.toml>`
3333
- `Git.legal - CodeClimate Community Edition <https://github.com/kmewhort/git.legal-codeclimate>`_
34-
* - :gitref:`py://nitpick/resources/any/markdownlint <src/nitpick/resources/any/markdownlint.toml>`
35-
- `Markdown lint <https://github.com/markdownlint/markdownlint>`_
3634
* - :gitref:`py://nitpick/resources/any/pre-commit-hooks <src/nitpick/resources/any/pre-commit-hooks.toml>`
3735
- `pre-commit hooks for any project <https://github.com/pre-commit/pre-commit-hooks>`_
3836
* - :gitref:`py://nitpick/resources/any/prettier <src/nitpick/resources/any/prettier.toml>`
@@ -60,6 +58,17 @@ kotlin
6058
* - :gitref:`py://nitpick/resources/kotlin/ktlint <src/nitpick/resources/kotlin/ktlint.toml>`
6159
- `ktlint <https://github.com/pinterest/ktlint>`_
6260

61+
markdown
62+
~~~~~~~~
63+
64+
.. list-table::
65+
:header-rows: 1
66+
67+
* - Style URL
68+
- Description
69+
* - :gitref:`py://nitpick/resources/markdown/markdownlint <src/nitpick/resources/markdown/markdownlint.toml>`
70+
- `Markdown lint <https://github.com/markdownlint/markdownlint>`_
71+
6372
presets
6473
~~~~~~~
6574

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ exceptiongroup==1.1.3 ; python_version >= "3.8" and python_version < "3.11"
1515
flake8==5.0.4 ; python_version >= "3.8" and python_version < "4.0"
1616
flatten-dict==0.4.2 ; python_version >= "3.8" and python_version < "4.0"
1717
furl==2.1.3 ; python_version >= "3.8" and python_version < "4.0"
18-
identify==2.5.31 ; python_version >= "3.8" and python_version < "4.0"
18+
identify==2.5.30 ; python_version >= "3.8" and python_version < "4.0"
1919
idna==3.4 ; python_version >= "3.8" and python_version < "4.0"
2020
imagesize==1.4.1 ; python_version >= "3.8" and python_version < "4.0"
2121
importlib-metadata==6.8.0 ; python_version >= "3.8" and python_version < "3.10"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
nitpick.resources.markdown package
2+
==================================
3+
4+
.. automodule:: nitpick.resources.markdown
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/source/nitpick.resources.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Subpackages
1515
nitpick.resources.any
1616
nitpick.resources.javascript
1717
nitpick.resources.kotlin
18+
nitpick.resources.markdown
1819
nitpick.resources.presets
1920
nitpick.resources.proto
2021
nitpick.resources.python
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Styles for Markdown files."""
File renamed without changes.

src/nitpick/resources/presets/nitpick.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ include = [
2828
"py://nitpick/resources/any/editorconfig",
2929
"py://nitpick/resources/any/git-legal",
3030
"py://nitpick/resources/any/pre-commit-hooks",
31-
"py://nitpick/resources/any/markdownlint",
31+
"py://nitpick/resources/markdown/markdownlint",
3232

3333
"py://nitpick/resources/shell/bashate",
3434
"py://nitpick/resources/shell/shellcheck",

tests/test_builtin/any/markdownlint/.codeclimate.yml renamed to tests/test_builtin/markdown/markdownlint/.codeclimate.yml

File renamed without changes.

tests/test_builtin/real.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ include = [
2828
"py://nitpick/resources/any/editorconfig",
2929
"py://nitpick/resources/any/git-legal",
3030
"py://nitpick/resources/any/pre-commit-hooks",
31-
"py://nitpick/resources/any/markdownlint",
31+
"py://nitpick/resources/markdown/markdownlint",
3232

3333
"py://nitpick/resources/shell/bashate",
3434
"py://nitpick/resources/shell/shellcheck",

0 commit comments

Comments
 (0)