Skip to content

Commit 80732f7

Browse files
committed
Remove copyright year.
Inspired by https://hynek.me/til/copyright-years/
1 parent 07ebf38 commit 80732f7

27 files changed

+78
-129
lines changed

docs/conf.py

Lines changed: 78 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -15,44 +15,44 @@
1515
import sys
1616
import os
1717

18-
sys.path.append(os.path.abspath('..'))
18+
sys.path.append(os.path.abspath(".."))
1919
from tap import __version__
2020

2121
# If extensions (or modules to document with autodoc) are in another directory,
2222
# add these directories to sys.path here. If the directory is relative to the
2323
# documentation root, use os.path.abspath to make it absolute, like shown here.
24-
#sys.path.insert(0, os.path.abspath('.'))
24+
# sys.path.insert(0, os.path.abspath('.'))
2525

2626
# -- General configuration ------------------------------------------------
2727

2828
# If your documentation needs a minimal Sphinx version, state it here.
29-
#needs_sphinx = '1.0'
29+
# needs_sphinx = '1.0'
3030

3131
# Add any Sphinx extension module names here, as strings. They can be
3232
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3333
# ones.
3434
extensions = [
35-
'sphinx.ext.autodoc',
35+
"sphinx.ext.autodoc",
3636
]
3737

3838
# autodoc settings
39-
autodoc_member_order = 'bysource'
39+
autodoc_member_order = "bysource"
4040

4141
# Add any paths that contain templates here, relative to this directory.
42-
templates_path = ['_templates']
42+
templates_path = ["_templates"]
4343

4444
# The suffix of source filenames.
45-
source_suffix = '.rst'
45+
source_suffix = ".rst"
4646

4747
# The encoding of source files.
48-
#source_encoding = 'utf-8-sig'
48+
# source_encoding = 'utf-8-sig'
4949

5050
# The master toctree document.
51-
master_doc = 'index'
51+
master_doc = "index"
5252

5353
# General information about the project.
54-
project = u'tappy'
55-
copyright = u'2019, Matt Layman and contributors'
54+
project = u"tappy"
55+
copyright = u"Matt Layman and contributors"
5656

5757
# The version info for the project you're documenting, acts as replacement for
5858
# |version| and |release|, also used in various other places throughout the
@@ -65,181 +65,181 @@
6565

6666
# The language for content autogenerated by Sphinx. Refer to documentation
6767
# for a list of supported languages.
68-
#language = None
68+
# language = None
6969

7070
# There are two options for replacing |today|: either, you set today to some
7171
# non-false value, then it is used:
72-
#today = ''
72+
# today = ''
7373
# Else, today_fmt is used as the format for a strftime call.
74-
#today_fmt = '%B %d, %Y'
74+
# today_fmt = '%B %d, %Y'
7575

7676
# List of patterns, relative to source directory, that match files and
7777
# directories to ignore when looking for source files.
78-
exclude_patterns = ['_build']
78+
exclude_patterns = ["_build"]
7979

8080
# The reST default role (used for this markup: `text`) to use for all
8181
# documents.
82-
#default_role = None
82+
# default_role = None
8383

8484
# If true, '()' will be appended to :func: etc. cross-reference text.
85-
#add_function_parentheses = True
85+
# add_function_parentheses = True
8686

8787
# If true, the current module name will be prepended to all description
8888
# unit titles (such as .. function::).
89-
#add_module_names = True
89+
# add_module_names = True
9090

9191
# If true, sectionauthor and moduleauthor directives will be shown in the
9292
# output. They are ignored by default.
93-
#show_authors = False
93+
# show_authors = False
9494

9595
# The name of the Pygments (syntax highlighting) style to use.
96-
pygments_style = 'sphinx'
96+
pygments_style = "sphinx"
9797

9898
# A list of ignored prefixes for module index sorting.
99-
#modindex_common_prefix = []
99+
# modindex_common_prefix = []
100100

101101
# If true, keep warnings as "system message" paragraphs in the built documents.
102-
#keep_warnings = False
102+
# keep_warnings = False
103103

104104

105105
# -- Options for HTML output ----------------------------------------------
106106

107107
# The theme to use for HTML and HTML Help pages. See the documentation for
108108
# a list of builtin themes.
109-
html_theme = 'default'
109+
html_theme = "default"
110110

111111
# Theme options are theme-specific and customize the look and feel of a theme
112112
# further. For a list of options available for each theme, see the
113113
# documentation.
114-
#html_theme_options = {}
114+
# html_theme_options = {}
115115

116116
# Add any paths that contain custom themes here, relative to this directory.
117-
#html_theme_path = []
117+
# html_theme_path = []
118118

119119
# The name for this set of Sphinx documents. If None, it defaults to
120120
# "<project> v<release> documentation".
121-
#html_title = None
121+
# html_title = None
122122

123123
# A shorter title for the navigation bar. Default is the same as html_title.
124-
#html_short_title = None
124+
# html_short_title = None
125125

126126
# The name of an image file (relative to this directory) to place at the top
127127
# of the sidebar.
128-
#html_logo = None
128+
# html_logo = None
129129

130130
# The name of an image file (within the static path) to use as favicon of the
131131
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
132132
# pixels large.
133-
#html_favicon = None
133+
# html_favicon = None
134134

135135
# Add any paths that contain custom static files (such as style sheets) here,
136136
# relative to this directory. They are copied after the builtin static files,
137137
# so a file named "default.css" will overwrite the builtin "default.css".
138-
html_static_path = ['_static']
138+
html_static_path = ["_static"]
139139

140140
# Add any extra paths that contain custom files (such as robots.txt or
141141
# .htaccess) here, relative to this directory. These files are copied
142142
# directly to the root of the documentation.
143-
#html_extra_path = []
143+
# html_extra_path = []
144144

145145
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
146146
# using the given strftime format.
147-
#html_last_updated_fmt = '%b %d, %Y'
147+
# html_last_updated_fmt = '%b %d, %Y'
148148

149149
# If true, SmartyPants will be used to convert quotes and dashes to
150150
# typographically correct entities.
151-
#html_use_smartypants = True
151+
# html_use_smartypants = True
152152

153153
# Custom sidebar templates, maps document names to template names.
154-
#html_sidebars = {}
154+
# html_sidebars = {}
155155

156156
# Additional templates that should be rendered to pages, maps page names to
157157
# template names.
158-
#html_additional_pages = {}
158+
# html_additional_pages = {}
159159

160160
# If false, no module index is generated.
161-
#html_domain_indices = True
161+
# html_domain_indices = True
162162

163163
# If false, no index is generated.
164-
#html_use_index = True
164+
# html_use_index = True
165165

166166
# If true, the index is split into individual pages for each letter.
167-
#html_split_index = False
167+
# html_split_index = False
168168

169169
# If true, links to the reST sources are added to the pages.
170-
#html_show_sourcelink = True
170+
# html_show_sourcelink = True
171171

172172
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
173-
#html_show_sphinx = True
173+
# html_show_sphinx = True
174174

175175
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
176-
#html_show_copyright = True
176+
# html_show_copyright = True
177177

178178
# If true, an OpenSearch description file will be output, and all pages will
179179
# contain a <link> tag referring to it. The value of this option must be the
180180
# base URL from which the finished HTML is served.
181-
#html_use_opensearch = ''
181+
# html_use_opensearch = ''
182182

183183
# This is the file name suffix for HTML files (e.g. ".xhtml").
184-
#html_file_suffix = None
184+
# html_file_suffix = None
185185

186186
# Output file base name for HTML help builder.
187-
htmlhelp_basename = 'tappydoc'
187+
htmlhelp_basename = "tappydoc"
188188

189189

190190
# -- Options for LaTeX output ---------------------------------------------
191191

192192
latex_elements = {
193-
# The paper size ('letterpaper' or 'a4paper').
194-
#'papersize': 'letterpaper',
195-
196-
# The font size ('10pt', '11pt' or '12pt').
197-
#'pointsize': '10pt',
198-
199-
# Additional stuff for the LaTeX preamble.
200-
#'preamble': '',
193+
# The paper size ('letterpaper' or 'a4paper').
194+
#'papersize': 'letterpaper',
195+
# The font size ('10pt', '11pt' or '12pt').
196+
#'pointsize': '10pt',
197+
# Additional stuff for the LaTeX preamble.
198+
#'preamble': '',
201199
}
202200

203201
# Grouping the document tree into LaTeX files. List of tuples
204202
# (source start file, target name, title,
205203
# author, documentclass [howto, manual, or own class]).
206204
latex_documents = [
207-
('index', 'tappy.tex', u'tappy Documentation',
208-
u'Matt Layman and contributors', 'manual'),
205+
(
206+
"index",
207+
"tappy.tex",
208+
u"tappy Documentation",
209+
u"Matt Layman and contributors",
210+
"manual",
211+
),
209212
]
210213

211214
# The name of an image file (relative to this directory) to place at the top of
212215
# the title page.
213-
#latex_logo = None
216+
# latex_logo = None
214217

215218
# For "manual" documents, if this is true, then toplevel headings are parts,
216219
# not chapters.
217-
#latex_use_parts = False
220+
# latex_use_parts = False
218221

219222
# If true, show page references after internal links.
220-
#latex_show_pagerefs = False
223+
# latex_show_pagerefs = False
221224

222225
# If true, show URL addresses after external links.
223-
#latex_show_urls = False
226+
# latex_show_urls = False
224227

225228
# Documents to append as an appendix to all manuals.
226-
#latex_appendices = []
229+
# latex_appendices = []
227230

228231
# If false, no module index is generated.
229-
#latex_domain_indices = True
232+
# latex_domain_indices = True
230233

231234

232235
# -- Options for manual page output ---------------------------------------
233236

234237
# One entry per manual page. List of tuples
235238
# (source start file, name, description, authors, manual section).
236-
man_pages = [
237-
('tappy.1', 'tappy', u'a tap consumer for python',
238-
[], 1)
239-
]
239+
man_pages = [("tappy.1", "tappy", u"a tap consumer for python", [], 1)]
240240

241241
# If true, show URL addresses after external links.
242-
#man_show_urls = False
242+
# man_show_urls = False
243243

244244

245245
# -- Options for Texinfo output -------------------------------------------
@@ -248,19 +248,25 @@
248248
# (source start file, target name, title, author,
249249
# dir menu entry, description, category)
250250
texinfo_documents = [
251-
('index', 'tappy', u'tappy Documentation',
252-
u'Matt Layman and contributors', 'tappy', 'One line description of project.',
253-
'Miscellaneous'),
251+
(
252+
"index",
253+
"tappy",
254+
u"tappy Documentation",
255+
u"Matt Layman and contributors",
256+
"tappy",
257+
"One line description of project.",
258+
"Miscellaneous",
259+
),
254260
]
255261

256262
# Documents to append as an appendix to all manuals.
257-
#texinfo_appendices = []
263+
# texinfo_appendices = []
258264

259265
# If false, no module index is generated.
260-
#texinfo_domain_indices = True
266+
# texinfo_domain_indices = True
261267

262268
# How to display URL addresses: 'footnote', 'no', or 'inline'.
263-
#texinfo_show_urls = 'footnote'
269+
# texinfo_show_urls = 'footnote'
264270

265271
# If true, do not generate a @detailmenu in the "Top" node's menu.
266-
#texinfo_no_detailmenu = False
272+
# texinfo_no_detailmenu = False

setup.cfg

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
[bdist_wheel]
22
universal = 1
33

4-
[compile_catalog]
5-
domain = tappy
6-
directory = tap/locale
7-
8-
[extract_messages]
9-
input_dirs = tap
10-
output_file = tap/locale/tappy.pot
11-
copyright_holder = Matt Layman
12-
134
[flake8]
145
max-line-length = 88
156

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Copyright (c) 2019, Matt Layman and contributors
21
"""
32
tappy is a set of tools for working with the `Test Anything Protocol (TAP)
43
<http://testanything.org/>`_, a line based test protocol for recording test

tap/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Copyright (c) 2019, Matt Layman and contributors
2-
31
from .runner import TAPTestRunner
42

53
__all__ = ["TAPTestRunner"]

tap/adapter.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# Copyright (c) 2019, Matt Layman and contributors
2-
3-
41
class Adapter(object):
52
"""The adapter processes a TAP test line and updates a unittest result.
63

tap/directive.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Copyright (c) 2019, Matt Layman and contributors
2-
31
import re
42

53

tap/line.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Copyright (c) 2019, Matt Layman and contributors
21
try:
32
import yaml
43

tap/loader.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Copyright (c) 2019, Matt Layman and contributors
2-
31
import os
42
import unittest
53

tap/main.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Copyright (c) 2019, Matt Layman and contributors
2-
31
import argparse
42
import sys
53
import unittest

tap/parser.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Copyright (c) 2019, Matt Layman and contributors
2-
31
from io import StringIO
42
import itertools
53
import re

0 commit comments

Comments
 (0)