From d8e5f5cc37ed9bd6a3228a12b25e3071d3d7ef72 Mon Sep 17 00:00:00 2001 From: Chris Simpkins Date: Sun, 25 Feb 2018 19:32:20 -0500 Subject: [PATCH] removed header text --- Snippets/checksum.py | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/Snippets/checksum.py b/Snippets/checksum.py index dd5a248bf..16ab6be5b 100644 --- a/Snippets/checksum.py +++ b/Snippets/checksum.py @@ -1,36 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -#---------------------------------------------------------------------------------------------------------- -# checksum.py -# A SHA1 hash checksum list generator for fonts and fontTools -# XML dumps of font OpenType table data + checksum testing -# script -# -# Copyright 2018 Christopher Simpkins -# MIT License -# -# Dependencies: -# - Python fontTools library -# - Python 3 interpreter -# -# Usage: checksum.py (options) [file path 1]...[file path n] -# -# `file path` should be defined as a path to a font file for all use cases except with use of -c/--check. -# With the -c/--check option, use one or more file paths to checksum files -# -# Options: -# -h, --help Help -# -t, --ttx Calculate SHA1 hash values from ttx dump of XML (default = font binary) -# -s, --stdout Stream to standard output stream (default = write to working dir as 'checksum.txt') -# -c, --check Test SHA1 checksum values against a valid checksum file -# -# Options, --ttx only: -# -e, --exclude Excluded OpenType table (may be used more than once, mutually exclusive with -i) -# -i, --include Included OpenType table (may be used more than once, mutually exclusive with -e) -# -n, --noclean Do not discard .ttx files that are used to calculate SHA1 hashes -#----------------------------------------------------------------------------------------------------------- - import argparse import hashlib import os