File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 14
14
15
15
- name : Validate
16
16
run : VERSION=${{ github.event.pull_request.base.ref }} MODE=dummy make all
17
+
18
+ - name : Lint
19
+ run : make lint
Original file line number Diff line number Diff line change @@ -69,14 +69,16 @@ $(VENV)/bin/activate:
69
69
$(VENV ) /bin/sphinx-build : $(VENV ) /bin/activate
70
70
. $(VENV ) /bin/activate; python3 -m pip install sphinx python-docs-theme
71
71
72
+ $(VENV ) /bin/sphinx-lint : $(VENV ) /bin/activate
73
+ . $(VENV ) /bin/activate; python3 -m pip install sphinx-lint
72
74
73
75
$(VENV ) /bin/blurb : $(VENV ) /bin/activate
74
76
. $(VENV ) /bin/activate; python3 -m pip install blurb
75
77
76
78
77
79
.PHONY : upgrade_venv
78
80
upgrade_venv : $(VENV ) /bin/activate # # Upgrade the venv that compiles the doc
79
- . $(VENV ) /bin/activate; python3 -m pip install --upgrade sphinx python-docs-theme blurb
81
+ . $(VENV ) /bin/activate; python3 -m pip install --upgrade sphinx python-docs-theme blurb sphinx-lint
80
82
81
83
82
84
.PHONY : progress
@@ -130,3 +132,7 @@ fuzzy: ## Find fuzzy strings
130
132
.PHONY : rm_cpython
131
133
rm_cpython : # # Remove cloned cpython repo
132
134
rm -rf $(CPYTHON_CLONE )
135
+
136
+ .PHONY : lint
137
+ lint : $(VENV ) /bin/sphinx-lint # # Run sphinx-lint
138
+ $(VENV ) /bin/sphinx-lint .
You can’t perform that action at this time.
0 commit comments