Skip to content

Commit 0e3660a

Browse files
committed
Revert "Add a footer with a generation timestamp"
This reverts commit 99f1536. Turns out this wasn't a good idea and broke testing in CI.
1 parent 99f1536 commit 0e3660a

4 files changed

Lines changed: 1 addition & 30 deletions

File tree

conformance/results/results.html

Lines changed: 0 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

conformance/src/reporting.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
Generates a summary of the type checker conformant tests.
33
"""
44

5-
import datetime
65
import itertools
76
import operator
87
import tomllib
@@ -66,17 +65,11 @@ def generate_summary(root_dir: Path):
6665

6766
type_checkers = sorted(TYPE_CHECKERS, key=operator.attrgetter("name"))
6867

69-
timestamp = datetime.datetime.now(tz=datetime.UTC)
7068
groups = _get_groups(root_dir, type_checkers)
7169
totals = _get_totals(groups)
7270
versions = _get_versions(root_dir, type_checkers)
7371

74-
results = template.render(
75-
timestamp=timestamp,
76-
groups=groups,
77-
totals=totals,
78-
versions=versions,
79-
)
72+
results = template.render(groups=groups, totals=totals, versions=versions)
8073

8174
root_dir.joinpath("results", "results.html").write_text(results)
8275

conformance/src/templates/base.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@ <h1>Python Type System Conformance Test Results</h1>
8888
</tr>
8989
</tfoot>
9090
</table>
91-
<footer>
92-
<p>Generated at {{ timestamp.strftime("%c %Z") }}</p>
93-
</footer>
9491
</main>
9592
<script>
9693
const selector = document.querySelector("#color-scheme");

conformance/src/templates/style.css

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,6 @@ header {
5252
text-align: center;
5353
}
5454

55-
footer {
56-
border-block-start: 1px solid light-dark(var(--light-main-fg), var(--dark-main-fg));
57-
color: light-dark(var(--light-main-fg), var(--dark-main-fg));
58-
padding-block-start: 0.5em;
59-
margin-block-start: 2em;
60-
text-align: center;
61-
}
62-
6355
main {
6456
padding: 2em;
6557
}

0 commit comments

Comments
 (0)