Skip to content

Commit 3b558ee

Browse files
authored
Merge pull request #83 from bckohan/v2.0.x
V2.0.x
2 parents e89061e + cb4adf6 commit 3b558ee

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
poetry config virtualenvs.in-project true
5353
poetry run pip install --upgrade pip
5454
poetry install -E rich
55+
poetry run pip install colorama
5556
poetry run pip install -U "django~=${{ matrix.django-version }}"
5657
- name: Install Emacs
5758
if: ${{ github.event.inputs.debug == 'on' }}

check.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ poetry run pip check
1919
cd ./doc
2020
poetry run doc8 --ignore-path build --max-line-length 100 -q
2121
# check for broken links in the docs ############
22+
set +e
2223
poetry run sphinx-build -b linkcheck -q -D linkcheck_timeout=5 ./source ./build > /dev/null 2>&1
2324
if [ $? -ne 0 ]; then
2425
cat ./build/output.txt

doc/source/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@
8888
'app.add_directive'
8989
]
9090

91+
linkcheck_ignore = [
92+
r'https://github.com/django/django/blob/main/django/core/management/__init__.py#L278', # Ignore exact match
93+
]
94+
9195
def setup(app):
9296
# Register a sphinx.ext.autodoc.between listener to ignore everything
9397
# between lines that contain the word IGNORE

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ pylint = "^3.0"
7373
doc8 = "^1.1.1"
7474
aiohttp = "^3.9.1"
7575
readme-renderer = {extras = ["md"], version = ">=42,<44"}
76-
sphinxcontrib-typer = {extras = ["html", "pdf", "png"], version = "^0.2.5", markers="python_version >= '3.9'"}
76+
sphinxcontrib-typer = {extras = ["html", "pdf", "png"], version = "^0.3.0", markers="python_version >= '3.9'"}
7777
scikit-learn = "^1.0.0"
7878
pytest-env = "^1.0.0"
7979
numpy = [

0 commit comments

Comments
 (0)