Skip to content

Commit

Permalink
Merge pull request #419 from ClearcodeHQ/rstcheck
Browse files Browse the repository at this point in the history
Check Readme with rstcheck
  • Loading branch information
fizyk authored Jul 20, 2023
2 parents 6fe2712 + 7c50849 commit 097293b
Show file tree
Hide file tree
Showing 7 changed files with 323 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ jobs:
ruff: true
black: true
mypy: true
rstcheck: true
2 changes: 2 additions & 0 deletions .rstcheck.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[rstcheck]
report_level = warning
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Contribute to pytest-mongo
==============
==========================

Thank you for taking time to contribute to pytest-mongo!

Expand Down
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ pytest-xdist = "==3.3.1"
ruff = "==0.0.278"
mypy = "==1.4.1"
tbump = "==6.10.0"
rstcheck = {version = "==6.1.2", extras = ["sphinx"]}
317 changes: 316 additions & 1 deletion Pipfile.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Example usage:
* use ``--mongo-port`` command line option when you run your tests

.. code-block::
.. code-block:: sh
py.test tests --mongo-port=8888
Expand Down
1 change: 1 addition & 0 deletions newsfragments/419.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Lint RST fields with rstcheck.

0 comments on commit 097293b

Please sign in to comment.