Skip to content

Commit 362ad11

Browse files
committed
Enable "trailing-whitespace" pre-commit hook and apply fixes
1 parent a28fcac commit 362ad11

File tree

6 files changed

+23
-22
lines changed

6 files changed

+23
-22
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ repos:
2525
args: ["--ignore-case", "--unique"]
2626
- id: fix-byte-order-marker
2727
- id: mixed-line-ending
28+
- id: trailing-whitespace
2829

2930
- repo: https://github.com/asottile/pyupgrade
3031
rev: "v3.19.0"

LICENSE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ All rights reserved.
44
Redistribution and use in source and binary forms, with or without modification,
55
are permitted provided that the following conditions are met:
66

7-
1. Redistributions of source code must retain the above copyright notice,
7+
1. Redistributions of source code must retain the above copyright notice,
88
this list of conditions and the following disclaimer.
9-
10-
2. Redistributions in binary form must reproduce the above copyright
9+
10+
2. Redistributions in binary form must reproduce the above copyright
1111
notice, this list of conditions and the following disclaimer in the
1212
documentation and/or other materials provided with the distribution.
1313

trac-env/conf/trac.ini

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ client_secret = GITHUB_OAUTH_CLIENT_SECRET
5555
repository = django/django
5656

5757
[gitweb-repositories]
58-
projects_base =
59-
projects_list =
60-
projects_url =
58+
projects_base =
59+
projects_list =
60+
projects_url =
6161

6262
[git]
6363
cached_repository = enabled
@@ -93,22 +93,22 @@ enscript_path = /usr/bin/enscript
9393
max_preview_size = 262144
9494
mime_map = text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb
9595
php_path = php
96-
silvercity_modes =
96+
silvercity_modes =
9797
tab_width = 8
9898

9999
[notification]
100100
mime_encoding = base64
101-
smtp_always_bcc =
101+
smtp_always_bcc =
102102
smtp_always_cc = [email protected]
103-
smtp_default_domain =
103+
smtp_default_domain =
104104
smtp_enabled = enabled
105105
smtp_from = [email protected]
106-
smtp_password =
106+
smtp_password =
107107
smtp_port = 25
108108
smtp_replyto = [email protected]
109109
smtp_server = localhost
110110
smtp_subject_prefix = __default__
111-
smtp_user =
111+
smtp_user =
112112
use_public_cc = disabled
113113
use_short_addr = disabled
114114
use_tls = disabled
@@ -120,7 +120,7 @@ always_notify_reporter = TicketReporterSubscriber
120120

121121
[project]
122122
descr = The Web framework for perfectionists with deadlines.
123-
footer =
123+
footer =
124124
icon = site/img/favicon.ico
125125
name = Django
126126
url = https://code.djangoproject.com/
@@ -147,15 +147,15 @@ bayes_karma = 10
147147
blogspam_karma = 5
148148
botscout_karma = 3
149149
captcha = Recaptcha2Captcha
150-
captcha_areyouahuman_publisher_key =
151-
captcha_areyouahuman_scoring_key =
150+
captcha_areyouahuman_publisher_key =
151+
captcha_areyouahuman_scoring_key =
152152
captcha_expression_ceiling = 10
153153
captcha_expression_terms = 3
154154
captcha_failed_karma = 1
155155
captcha_karma = 10
156156
captcha_karma_lifetime = 86400
157-
captcha_keycaptcha_private_key =
158-
captcha_keycaptcha_user_id =
157+
captcha_keycaptcha_private_key =
158+
captcha_keycaptcha_user_id =
159159
captcha_recaptcha_private_key = 6LcKpsMSAAAAAOiDhK_3YpFCL0tjBeM_0zm2c3h4
160160
captcha_recaptcha_public_key = 6LcKpsMSAAAAAFRfNP0VStSITt4Ev_HoBYBQpL2S
161161
defensio_karma = 5
@@ -188,12 +188,12 @@ typepad_karma = 5
188188
url_blacklist_karma = 3
189189

190190
[svn]
191-
authz_file =
192-
authz_module_name =
191+
authz_file =
192+
authz_module_name =
193193

194194
[ticket]
195195
default_component = Uncategorized
196-
default_milestone =
196+
default_milestone =
197197
default_owner =
198198
default_priority = major
199199
default_type = bug / defect

trac-env/htdocs/fonts/font-awesome/fontawesome-webfont.svg

Lines changed: 1 addition & 1 deletion
Loading

trac-env/htdocs/img/logo-knight.svg

Lines changed: 1 addition & 1 deletion
Loading

trac-env/htdocs/img/logo-mozilla.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)