Skip to content

Commit

Permalink
Lint: Optimize images to reduce file size by 1.5-2x for free (#2542)
Browse files Browse the repository at this point in the history
* Lint: Optimize images to reduce file size by 25-50% for free

* Lint: Switch PEPs with SVGs over to using them and remove old PNGs
  • Loading branch information
CAM-Gerlach authored Apr 23, 2022
1 parent 9cbbc2d commit 28a5eb3
Show file tree
Hide file tree
Showing 14 changed files with 3 additions and 3 deletions.
Binary file removed pep-0001-process_flow.png
Binary file not shown.
2 changes: 1 addition & 1 deletion pep-0001.txt
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ an API can replace version 1.

The possible paths of the status of PEPs are as follows:

.. image:: pep-0001-process_flow.png
.. image:: pep-0001/process_flow.svg
:class: invert-in-dark-mode
:alt: PEP process flow diagram

Expand Down
Binary file modified pep-0458-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pep-0480-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pep-0495-daylightsavings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed pep-0495-fold-2.png
Binary file not shown.
Binary file removed pep-0495-gap.png
Binary file not shown.
4 changes: 2 additions & 2 deletions pep-0495.txt
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ smaller after any transition that creates a fold. The values returned
by ``tzname()`` and ``dst()`` may or may not depend on the value of
the ``fold`` attribute depending on the kind of the transition.

.. image:: pep-0495-fold-2.png
.. image:: pep-0495-fold.svg
:align: center
:width: 60%
:class: invert-in-dark-mode
Expand All @@ -410,7 +410,7 @@ local time that falls in a gap, the rules in effect before the
transition should be used if ``fold=0``. Otherwise, the rules in
effect after the transition should be used.

.. image:: pep-0495-gap.png
.. image:: pep-0495-gap.svg
:align: center
:width: 60%
:class: invert-in-dark-mode
Expand Down
Binary file modified pep-0525-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pep-0602-example-release-calendar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pep-0602-overlapping-support-matrix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pep-0605-example-release-calendar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pep-0605-overlapping-support-matrix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pep-3147-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 28a5eb3

Please sign in to comment.