GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ci: run the pre-commit rst checks in the CI · python-gitlab/python-gitlab@a9c5d17

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • lint.yml
  • tox.ini
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/lint.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/lint.yml
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,5 @@ jobs:
4141
run: tox -e isort -- --check
4242
- name: Run pylint Python code static checker (https://github.com/PyCQA/pylint)
4343
run: tox -e pylint
44+
- name: Run pre-commit rst checks (https://pre-commit.com/)
45+
run: tox -e pre-commit-rst
Collapse file

‎tox.ini‎

Copy file name to clipboardExpand all lines: tox.ini
+9-1Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,17 @@ commands = pytest tests/smoke {posargs}
146146

147147
[testenv:pre-commit]
148148
skip_install = true
149-
deps = -r requirements-precommit.txt
149+
deps = -r {toxinidir}/requirements-precommit.txt
150150
commands = pre-commit run --all-files --show-diff-on-failure
151151

152+
[testenv:pre-commit-rst]
153+
skip_install = true
154+
deps = -r {toxinidir}/requirements-precommit.txt
155+
commands =
156+
pre-commit run rst-backticks --all-files --show-diff-on-failure
157+
pre-commit run rst-directive-colons --all-files --show-diff-on-failure
158+
pre-commit run rst-inline-touching-normal --all-files --show-diff-on-failure
159+
152160
[testenv:install]
153161
skip_install = true
154162
deps = -r{toxinidir}/requirements.txt

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.