Skip to content

Commit

Permalink
Merge pull request #42 from hugovk/add-some-checkers
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Mar 26, 2021
2 parents 29e89c4 + e401209 commit 232c9bc
Show file tree
Hide file tree
Showing 44 changed files with 16 additions and 823 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ repos:
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace

# Skip whilst it strips comments
# - repo: https://github.com/tox-dev/tox-ini-fmt
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ and using Mapnik tiles from a Slippy Map server
## Requirements

* Python 3.6+
* Pillow and/or Pygame
* Pillow and/or Pygame

## Installation

Expand Down
1 change: 0 additions & 1 deletion html/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ examples::
python py2html.py ../examples/multiple_trackvizs.py > multiple_trackvizs.py.html
python py2html.py ../examples/pil_example.py > pil_example.py.html
python py2html.py ../examples/custom_animations.py > custom_animations.py.html

8 changes: 4 additions & 4 deletions html/css.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ body{
#wrapper{
border:0 solid green;
/* relative makes child elements be absolutely relative to this element */
position:relative;
position:relative;
height:100%;
min-width:800px;
}
Expand All @@ -40,7 +40,7 @@ body{

/* now also set some right padding to offset from the window edge */
padding-right:20px;
/*
/*
can also be achieved this way (top/right/bottom/left):
padding: 0px 20px 0px 250px;
*/
Expand All @@ -63,7 +63,7 @@ a{
text-decoration:none;
}

ul{
ul{
}

p{
Expand All @@ -79,4 +79,4 @@ div.code{
border:1px dashed #000;
background-color:#FFE;
padding:10px;
}
}
14 changes: 7 additions & 7 deletions html/osmviz.animation.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>

<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="pygame.html">pygame</a><br>
</td><td width="25%" valign=top><a href="time.html">time</a><br>
Expand All @@ -52,7 +52,7 @@
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>

<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
Expand All @@ -73,7 +73,7 @@
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="SimViz">class <strong>SimViz</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>

<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Abstract&nbsp;interface&nbsp;representing&nbsp;an&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;which&nbsp;knows&nbsp;how&nbsp;and&nbsp;when&nbsp;<br>
to&nbsp;display&nbsp;itself&nbsp;on&nbsp;a&nbsp;surface&nbsp;inside&nbsp;of&nbsp;a&nbsp;<a href="#Simulation">Simulation</a>.<br>
Expand Down Expand Up @@ -136,7 +136,7 @@
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Simulation">class <strong>Simulation</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>

<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;collection&nbsp;of&nbsp;generic&nbsp;<a href="#SimViz">SimViz</a>'s&nbsp;and&nbsp;a&nbsp;timer,&nbsp;of&nbsp;sorts.&nbsp;This&nbsp;lets&nbsp;the&nbsp;<br>
visualizer&nbsp;say&nbsp;"Give&nbsp;me&nbsp;coordinates&nbsp;of&nbsp;each&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;at&nbsp;time&nbsp;T".&nbsp;A&nbsp;<a href="#Simulation-run">run</a>()<br>
Expand Down Expand Up @@ -180,7 +180,7 @@
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="TrackingViz">class <strong>TrackingViz</strong></a>(<a href="osmviz.animation.html#SimViz">SimViz</a>)</font></td></tr>

<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;generic&nbsp;<a href="#SimViz">SimViz</a>&nbsp;which&nbsp;displays&nbsp;a&nbsp;moving&nbsp;image&nbsp;on&nbsp;the&nbsp;map.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
Expand Down Expand Up @@ -235,7 +235,7 @@
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>

<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>Inf</strong> = inf</td></tr></table>
</body></html>
</body></html>
4 changes: 2 additions & 2 deletions html/osmviz.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Package Contents</strong></big></font></td></tr>

<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="osmviz.animation.html">animation</a><br>
</td><td width="25%" valign=top><a href="osmviz.manager.html">manager</a><br>
</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table>
</body></html>
</body></html>
2 changes: 0 additions & 2 deletions test/README
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
From this directory run
./test.sh
to run all tests.


107 changes: 0 additions & 107 deletions test/images/.svn/all-wcprops

This file was deleted.

Loading

0 comments on commit 232c9bc

Please sign in to comment.