Skip to content

Commit aa39d56

Browse files
committed
Enable "trailing-whitespace" pre-commit hook and apply fixes
1 parent a959f71 commit aa39d56

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
@@ -22,6 +22,7 @@ repos:
2222
exclude_types: [json, sql]
2323
- id: fix-byte-order-marker
2424
- id: mixed-line-ending
25+
- id: trailing-whitespace
2526

2627
- repo: https://github.com/asottile/pyupgrade
2728
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
@@ -56,9 +56,9 @@ repository = django/django
5656
webhook_secret = GITHUB_WEBHOOK_SECRET
5757

5858
[gitweb-repositories]
59-
projects_base =
60-
projects_list =
61-
projects_url =
59+
projects_base =
60+
projects_list =
61+
projects_url =
6262

6363
[git]
6464
cached_repository = enabled
@@ -94,22 +94,22 @@ enscript_path = /usr/bin/enscript
9494
max_preview_size = 262144
9595
mime_map = text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb
9696
php_path = php
97-
silvercity_modes =
97+
silvercity_modes =
9898
tab_width = 8
9999

100100
[notification]
101101
mime_encoding = base64
102-
smtp_always_bcc =
102+
smtp_always_bcc =
103103
smtp_always_cc = [email protected]
104-
smtp_default_domain =
104+
smtp_default_domain =
105105
smtp_enabled = enabled
106106
smtp_from = [email protected]
107-
smtp_password =
107+
smtp_password =
108108
smtp_port = 25
109109
smtp_replyto = [email protected]
110110
smtp_server = localhost
111111
smtp_subject_prefix = __default__
112-
smtp_user =
112+
smtp_user =
113113
use_public_cc = disabled
114114
use_short_addr = disabled
115115
use_tls = disabled
@@ -121,7 +121,7 @@ always_notify_reporter = TicketReporterSubscriber
121121

122122
[project]
123123
descr = The Web framework for perfectionists with deadlines.
124-
footer =
124+
footer =
125125
icon = site/img/favicon.ico
126126
name = Django
127127
url = https://code.djangoproject.com/
@@ -148,15 +148,15 @@ bayes_karma = 10
148148
blogspam_karma = 5
149149
botscout_karma = 3
150150
captcha = Recaptcha2Captcha
151-
captcha_areyouahuman_publisher_key =
152-
captcha_areyouahuman_scoring_key =
151+
captcha_areyouahuman_publisher_key =
152+
captcha_areyouahuman_scoring_key =
153153
captcha_expression_ceiling = 10
154154
captcha_expression_terms = 3
155155
captcha_failed_karma = 1
156156
captcha_karma = 10
157157
captcha_karma_lifetime = 86400
158-
captcha_keycaptcha_private_key =
159-
captcha_keycaptcha_user_id =
158+
captcha_keycaptcha_private_key =
159+
captcha_keycaptcha_user_id =
160160
captcha_recaptcha_private_key = 6LcKpsMSAAAAAOiDhK_3YpFCL0tjBeM_0zm2c3h4
161161
captcha_recaptcha_public_key = 6LcKpsMSAAAAAFRfNP0VStSITt4Ev_HoBYBQpL2S
162162
defensio_karma = 5
@@ -189,12 +189,12 @@ typepad_karma = 5
189189
url_blacklist_karma = 3
190190

191191
[svn]
192-
authz_file =
193-
authz_module_name =
192+
authz_file =
193+
authz_module_name =
194194

195195
[ticket]
196196
default_component = Uncategorized
197-
default_milestone =
197+
default_milestone =
198198
default_owner =
199199
default_priority = major
200200
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)