Skip to content

Commit

Permalink
Fix trailing whitespace (#237)
Browse files Browse the repository at this point in the history
I noticed some trailing whitespace has crept into these files. It wasn't caught by `pycodestyle` because that only checks Python files.

Ideally we'd add a linter that catches these, but I didn't want to take the time to configure one right now, I just want my editor to stop flagging these while I'm working on trying to upgrade `jquery` versions.

Long term, we'll probably want a meta-linter like `prettier` or whatever the newest kid on the block is.
  • Loading branch information
jeffwidman authored Apr 12, 2024
1 parent 716f05d commit 98bf17a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 10 deletions.
6 changes: 3 additions & 3 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice,
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

Expand Down
2 changes: 1 addition & 1 deletion src/flask_debugtoolbar/templates/panels/config_vars.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
</tr>
{% endfor %}
</tbody>
</table>
</table>
2 changes: 0 additions & 2 deletions src/flask_debugtoolbar/templates/panels/logger.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,3 @@
{% else %}
<p>No messages logged.</p>
{% endif %}


2 changes: 1 addition & 1 deletion src/flask_debugtoolbar/templates/panels/profiler.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
</tr>
{% endfor %}
</tbody>
</table>
</table>
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
delay = setTimeout(updatePreview, 300);
}
});

var previewFrame = document.getElementById('flDebugPreview');
var preview = previewFrame.contentDocument || previewFrame.contentWindow.document;
var errorLine = null;
Expand Down
1 change: 0 additions & 1 deletion src/flask_debugtoolbar/templates/panels/timer.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@
{% endfor %}
</tbody>
</table>

2 changes: 1 addition & 1 deletion test/templates/basic_app.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html>
<html>
<body>Hello world</body>
</html>
</html>

0 comments on commit 98bf17a

Please sign in to comment.