Skip to content

Commit 37b3434

Browse files
author
Thea Flowers
authored
Remove unused link monitor script (pypa#486)
1 parent c2f869f commit 37b3434

File tree

7 files changed

+1
-532
lines changed

7 files changed

+1
-532
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ sudo: false
33
python:
44
- 3.6
55
install: pip install --upgrade nox-automation virtualenv
6-
script: nox -s build checklinks
6+
script: nox -s build

nox.py

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
# Attribution-ShareAlike license:
44
# http://creativecommons.org/licenses/by-sa/3.0.
55

6-
import os
7-
86
import nox
97

108

@@ -23,23 +21,3 @@ def preview(session):
2321
build(session)
2422
session.chdir('build/html')
2523
session.run('python', '-m', 'http.server')
26-
27-
28-
def linkmonitor(session, command):
29-
if not os.path.exists(os.path.join('build', 'html')):
30-
session.error('HTML output not available, run nox -s build first.')
31-
session.interpreter = 'python3.6'
32-
session.install('-r', 'scripts/linkmonitor/requirements.txt')
33-
session.run(
34-
'python', 'scripts/linkmonitor/linkmonitor.py', command,
35-
success_codes=range(0, 100))
36-
37-
38-
@nox.session
39-
def checklinks(session):
40-
linkmonitor(session, 'check')
41-
42-
43-
@nox.session
44-
def updatelinks(session):
45-
linkmonitor(session, 'update')

scripts/linkmonitor/ignored.yaml

Lines changed: 0 additions & 24 deletions
This file was deleted.

scripts/linkmonitor/inventory.yaml

Lines changed: 0 additions & 201 deletions
This file was deleted.

scripts/linkmonitor/linkmonitor.py

Lines changed: 0 additions & 221 deletions
This file was deleted.

scripts/linkmonitor/redirects.yaml

Lines changed: 0 additions & 61 deletions
This file was deleted.

scripts/linkmonitor/requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)