Skip to content

Commit

Permalink
Run rstcheck in CI (#854)
Browse files Browse the repository at this point in the history
  • Loading branch information
emontnemery authored Feb 15, 2024
1 parent 0ea9c09 commit 2d7ad05
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ jobs:
- name: Lint with pylint
run: |
pylint examples pychromecast
- name: Lint with rstcheck
run: |
rstcheck README.rst
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ classifiers=[
[tool.black]
exclude = 'pb2'

[tool.rstcheck]
# README.rst has embedded python examples which show the interactive interpreter output
# that's not valid Python, so we disable the check
ignore_languages = ["python"]

[tool.setuptools]
platforms = ["any"]
zip-safe = false
Expand Down
1 change: 1 addition & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ flake8==7.0.0
mypy==1.8.0
PlexAPI==4.15.9
pylint==3.0.3
rstcheck==6.2.0
types-beautifulsoup4==4.12.0.20240106
types-html5lib==1.1.11.20240106
types-protobuf==4.24.0.20240129
Expand Down

0 comments on commit 2d7ad05

Please sign in to comment.