Skip to content

Commit e4cef51

Browse files
committed
Remove outdated PEP code
1 parent 9ccb368 commit e4cef51

File tree

12 files changed

+5
-664
lines changed

12 files changed

+5
-664
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
static/sass/*.css linguist-vendored
2-
peps/tests/fake_pep_repo/*.html linguist-vendored
32
static/js/libs/*.js linguist-vendored
43
static/js/plugins/*.js linguist-vendored

env_sample

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
DATABASE_URL=postgres:///pythondotorg
33
SEARCHBOX_SSL_URL=http://127.0.0.1:9200/
44

5-
# development optional
6-
#PEP_REPO_PATH=None
7-
85
# production required
96
SECRET_KEY=
107
ALLOWED_HOSTS=127.0.0.1,
@@ -13,7 +10,6 @@ EMAIL_HOST_USER=
1310
EMAIL_HOST_PASSWORD=
1411
EMAIL_PORT=
1512
DEFAULT_FROM_EMAIL=
16-
PEP_ARTIFACT_URL=
1713
FASTLY_API_KEY=
1814
SENTRY_DSN=
1915
SOURCE_VERSION=

pydotorg/settings/cabotage.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@
6161
EMAIL_USE_TLS = True
6262
DEFAULT_FROM_EMAIL = config('DEFAULT_FROM_EMAIL')
6363

64-
PEP_REPO_PATH = None
65-
PEP_ARTIFACT_URL = config('PEP_ARTIFACT_URL')
66-
6764
# Fastly API Key
6865
FASTLY_API_KEY = config('FASTLY_API_KEY')
6966

pydotorg/settings/local.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,6 @@
3434

3535
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
3636

37-
# Set the local pep repository path to fetch PEPs from,
38-
# or none to fallback to the tarball specified by PEP_ARTIFACT_URL.
39-
PEP_REPO_PATH = config('PEP_REPO_PATH', default=None) # directory path or None
40-
41-
# Set the path to where to fetch PEP artifacts from.
42-
# The value can be a local path or a remote URL.
43-
# Ignored if PEP_REPO_PATH is set.
44-
PEP_ARTIFACT_URL = os.path.join(BASE, 'peps/tests/peps.tar.gz')
45-
4637
# Use Dummy SASS compiler to avoid performance issues and remove the need to
4738
# have a sass compiler installed at all during local development if you aren't
4839
# adjusting the CSS at all. Comment this out or adjust it to suit your local

static/sass/_layout.scss

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727

2828
.container,
2929
.row,
30-
.pep-list-header,
31-
.pep-index-list li,
32-
.info-key,
3330
.listing-company,
3431
.list-recent-jobs li { @extend %pie-clearfix; }
3532

@@ -377,43 +374,12 @@
377374

378375
.most-recent-posts { @include span-columns( 9 ); }
379376

380-
.pep-widget,
381377
.psf-widget,
382378
.python-needs-you-widget {
383379
padding: 1.5em 1.75em;
384380
clear: both;
385381
}
386382

387-
/* PEP landing page */
388-
.pep-list-header,
389-
.pep-index-list li,
390-
.info-key { margin: 0 -.5em; }
391-
392-
.pep-list-header { display: block; }
393-
394-
.pep-index-list {
395-
396-
.label { display: none; }
397-
a { display: block; }
398-
li {
399-
border-bottom: 1px solid darken($grey-lighterest, 5%);
400-
margin-bottom: 0;
401-
}
402-
}
403-
404-
.pep-type,
405-
.pep-num,
406-
.pep-title,
407-
.pep-owner {
408-
float: left;
409-
border-bottom: 0;
410-
}
411-
412-
.pep-type { width: 15%; }
413-
.pep-num { width: 10%; }
414-
.pep-title { width: 50%; }
415-
.pep-owner { width: 25%; }
416-
417383
/* Jobs landing page */
418384
.jobs-intro { padding-top: 2em; padding-bottom: 2em; }
419385

@@ -1099,7 +1065,6 @@
10991065
}
11001066
}
11011067

1102-
.pep-widget,
11031068
.psf-widget,
11041069
.python-needs-you-widget {
11051070
padding: 1.5em 1.75em;
@@ -1141,19 +1106,6 @@
11411106
}
11421107
}
11431108

1144-
.pep-widget {
1145-
1146-
.widget-title {
1147-
position: relative;
1148-
padding-right: 6em;
1149-
}
1150-
}
1151-
1152-
.rss-link {
1153-
position: absolute;
1154-
top: 0; right: 0;
1155-
}
1156-
11571109
/* Footer */
11581110
.sitemap {
11591111

static/sass/mq.css

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -115,17 +115,11 @@
115115
/* Other elements */
116116
.container,
117117
.row,
118-
.pep-list-header,
119-
.pep-index-list li,
120-
.info-key,
121118
.listing-company,
122119
.list-recent-jobs li {
123120
*zoom: 1; }
124121
.container:after,
125122
.row:after,
126-
.pep-list-header:after,
127-
.pep-index-list li:after,
128-
.info-key:after,
129123
.listing-company:after,
130124
.list-recent-jobs li:after {
131125
content: "";
@@ -338,17 +332,11 @@ html[xmlns] .slides { display: block; }
338332
/* Other elements */
339333
.container,
340334
.row,
341-
.pep-list-header,
342-
.pep-index-list li,
343-
.info-key,
344335
.listing-company,
345336
.list-recent-jobs li {
346337
*zoom: 1; }
347338
.container:after,
348339
.row:after,
349-
.pep-list-header:after,
350-
.pep-index-list li:after,
351-
.info-key:after,
352340
.listing-company:after,
353341
.list-recent-jobs li:after {
354342
content: "";
@@ -1423,48 +1411,11 @@ html[xmlns] .slides { display: block; }
14231411
float: left;
14241412
margin-right: 2.12766%; }
14251413

1426-
.pep-widget,
14271414
.psf-widget,
14281415
.python-needs-you-widget {
14291416
padding: 1.5em 1.75em;
14301417
clear: both; }
14311418

1432-
/* PEP landing page */
1433-
.pep-list-header,
1434-
.pep-index-list li,
1435-
.info-key {
1436-
margin: 0 -.5em; }
1437-
1438-
.pep-list-header {
1439-
display: block; }
1440-
1441-
.pep-index-list .label {
1442-
display: none; }
1443-
.pep-index-list a {
1444-
display: block; }
1445-
.pep-index-list li {
1446-
border-bottom: 1px solid #e3e7ec;
1447-
margin-bottom: 0; }
1448-
1449-
.pep-type,
1450-
.pep-num,
1451-
.pep-title,
1452-
.pep-owner {
1453-
float: left;
1454-
border-bottom: 0; }
1455-
1456-
.pep-type {
1457-
width: 15%; }
1458-
1459-
.pep-num {
1460-
width: 10%; }
1461-
1462-
.pep-title {
1463-
width: 50%; }
1464-
1465-
.pep-owner {
1466-
width: 25%; }
1467-
14681419
/* Jobs landing page */
14691420
.jobs-intro {
14701421
padding-top: 2em;
@@ -2298,7 +2249,6 @@ html[xmlns] .slides { display: block; }
22982249
display: inline;
22992250
visibility: visible; }
23002251

2301-
.pep-widget,
23022252
.psf-widget,
23032253
.python-needs-you-widget {
23042254
padding: 1.5em 1.75em; }
@@ -2345,15 +2295,6 @@ html[xmlns] .slides { display: block; }
23452295
zoom: 1;
23462296
display: inline; }
23472297

2348-
.pep-widget .widget-title {
2349-
position: relative;
2350-
padding-right: 6em; }
2351-
2352-
.rss-link {
2353-
position: absolute;
2354-
top: 0;
2355-
right: 0; }
2356-
23572298
/* Footer */
23582299
.sitemap a {
23592300
text-align: left; }

static/sass/no-mq.css

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -115,17 +115,11 @@
115115
/* Other elements */
116116
.container,
117117
.row,
118-
.pep-list-header,
119-
.pep-index-list li,
120-
.info-key,
121118
.listing-company,
122119
.list-recent-jobs li {
123120
*zoom: 1; }
124121
.container:after,
125122
.row:after,
126-
.pep-list-header:after,
127-
.pep-index-list li:after,
128-
.info-key:after,
129123
.listing-company:after,
130124
.list-recent-jobs li:after {
131125
content: "";
@@ -338,17 +332,11 @@ html[xmlns] .slides { display: block; }
338332
/* Other elements */
339333
.container,
340334
.row,
341-
.pep-list-header,
342-
.pep-index-list li,
343-
.info-key,
344335
.listing-company,
345336
.list-recent-jobs li {
346337
*zoom: 1; }
347338
.container:after,
348339
.row:after,
349-
.pep-list-header:after,
350-
.pep-index-list li:after,
351-
.info-key:after,
352340
.listing-company:after,
353341
.list-recent-jobs li:after {
354342
content: "";
@@ -1137,48 +1125,11 @@ a.button {
11371125
float: left;
11381126
margin-right: 2.12766%; }
11391127

1140-
.pep-widget,
11411128
.psf-widget,
11421129
.python-needs-you-widget {
11431130
padding: 1.5em 1.75em;
11441131
clear: both; }
11451132

1146-
/* PEP landing page */
1147-
.pep-list-header,
1148-
.pep-index-list li,
1149-
.info-key {
1150-
margin: 0 -.5em; }
1151-
1152-
.pep-list-header {
1153-
display: block; }
1154-
1155-
.pep-index-list .label {
1156-
display: none; }
1157-
.pep-index-list a {
1158-
display: block; }
1159-
.pep-index-list li {
1160-
border-bottom: 1px solid #e3e7ec;
1161-
margin-bottom: 0; }
1162-
1163-
.pep-type,
1164-
.pep-num,
1165-
.pep-title,
1166-
.pep-owner {
1167-
float: left;
1168-
border-bottom: 0; }
1169-
1170-
.pep-type {
1171-
width: 15%; }
1172-
1173-
.pep-num {
1174-
width: 10%; }
1175-
1176-
.pep-title {
1177-
width: 50%; }
1178-
1179-
.pep-owner {
1180-
width: 25%; }
1181-
11821133
/* Jobs landing page */
11831134
.jobs-intro {
11841135
padding-top: 2em;
@@ -1986,7 +1937,6 @@ a.button {
19861937
display: inline;
19871938
visibility: visible; }
19881939

1989-
.pep-widget,
19901940
.psf-widget,
19911941
.python-needs-you-widget {
19921942
padding: 1.5em 1.75em; }
@@ -2033,15 +1983,6 @@ a.button {
20331983
zoom: 1;
20341984
display: inline; }
20351985

2036-
.pep-widget .widget-title {
2037-
position: relative;
2038-
padding-right: 6em; }
2039-
2040-
.rss-link {
2041-
position: absolute;
2042-
top: 0;
2043-
right: 0; }
2044-
20451986
/* Footer */
20461987
.sitemap a {
20471988
text-align: left; }

0 commit comments

Comments
 (0)