Skip to content

Commit ce0480b

Browse files
committed
Timeless copyright headers
See https://www.linuxfoundation.org/blog/copyright-notices-in-open-source-software-projects/ This also removes some stale information such as the authors file, and universal attribution to David. He wrote much of Hypothesis, but there are also large parts he's never touched!
1 parent 061dfb1 commit ce0480b

File tree

400 files changed

+800
-2800
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

400 files changed

+800
-2800
lines changed

hypothesis-python/docs/conf.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
# This file is part of Hypothesis, which may be found at
22
# https://github.com/HypothesisWorks/hypothesis/
33
#
4-
# Most of this work is copyright (C) 2013-2021 David R. MacIver
5-
# (david@drmaciver.com), but it contains contributions by others. See
6-
# CONTRIBUTING.rst for a full list of people who may hold copyright, and
7-
# consult the git log if you need to determine who owns an individual
8-
# contribution.
4+
# Copyright the Hypothesis Authors.
5+
# Individual contributors are listed in AUTHORS.rst and the git log.
96
#
107
# This Source Code Form is subject to the terms of the Mozilla Public License,
118
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
129
# obtain one at https://mozilla.org/MPL/2.0/.
13-
#
14-
# END HEADER
1510

1611
import datetime
1712
import os

hypothesis-python/examples/example_hypothesis_entrypoint/example_hypothesis_entrypoint.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
# This file is part of Hypothesis, which may be found at
22
# https://github.com/HypothesisWorks/hypothesis/
33
#
4-
# Most of this work is copyright (C) 2013-2021 David R. MacIver
5-
# (david@drmaciver.com), but it contains contributions by others. See
6-
# CONTRIBUTING.rst for a full list of people who may hold copyright, and
7-
# consult the git log if you need to determine who owns an individual
8-
# contribution.
4+
# Copyright the Hypothesis Authors.
5+
# Individual contributors are listed in AUTHORS.rst and the git log.
96
#
107
# This Source Code Form is subject to the terms of the Mozilla Public License,
118
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
129
# obtain one at https://mozilla.org/MPL/2.0/.
13-
#
14-
# END HEADER
1510

1611
"""This example demonstrates a setuptools entry point.
1712

hypothesis-python/examples/example_hypothesis_entrypoint/setup.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
# This file is part of Hypothesis, which may be found at
22
# https://github.com/HypothesisWorks/hypothesis/
33
#
4-
# Most of this work is copyright (C) 2013-2021 David R. MacIver
5-
# (david@drmaciver.com), but it contains contributions by others. See
6-
# CONTRIBUTING.rst for a full list of people who may hold copyright, and
7-
# consult the git log if you need to determine who owns an individual
8-
# contribution.
4+
# Copyright the Hypothesis Authors.
5+
# Individual contributors are listed in AUTHORS.rst and the git log.
96
#
107
# This Source Code Form is subject to the terms of the Mozilla Public License,
118
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
129
# obtain one at https://mozilla.org/MPL/2.0/.
13-
#
14-
# END HEADER
1510

1611
"""Minimal setup.py to register an entrypoint."""
1712

hypothesis-python/examples/example_hypothesis_entrypoint/test_entrypoint.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
# This file is part of Hypothesis, which may be found at
22
# https://github.com/HypothesisWorks/hypothesis/
33
#
4-
# Most of this work is copyright (C) 2013-2021 David R. MacIver
5-
# (david@drmaciver.com), but it contains contributions by others. See
6-
# CONTRIBUTING.rst for a full list of people who may hold copyright, and
7-
# consult the git log if you need to determine who owns an individual
8-
# contribution.
4+
# Copyright the Hypothesis Authors.
5+
# Individual contributors are listed in AUTHORS.rst and the git log.
96
#
107
# This Source Code Form is subject to the terms of the Mozilla Public License,
118
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
129
# obtain one at https://mozilla.org/MPL/2.0/.
13-
#
14-
# END HEADER
1510

1611
from example_hypothesis_entrypoint import MyCustomType
1712

hypothesis-python/examples/test_binary_search.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
# This file is part of Hypothesis, which may be found at
22
# https://github.com/HypothesisWorks/hypothesis/
33
#
4-
# Most of this work is copyright (C) 2013-2021 David R. MacIver
5-
# (david@drmaciver.com), but it contains contributions by others. See
6-
# CONTRIBUTING.rst for a full list of people who may hold copyright, and
7-
# consult the git log if you need to determine who owns an individual
8-
# contribution.
4+
# Copyright the Hypothesis Authors.
5+
# Individual contributors are listed in AUTHORS.rst and the git log.
96
#
107
# This Source Code Form is subject to the terms of the Mozilla Public License,
118
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
129
# obtain one at https://mozilla.org/MPL/2.0/.
13-
#
14-
# END HEADER
1510

1611
"""This file demonstrates testing a binary search.
1712

hypothesis-python/examples/test_rle.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
# This file is part of Hypothesis, which may be found at
22
# https://github.com/HypothesisWorks/hypothesis/
33
#
4-
# Most of this work is copyright (C) 2013-2021 David R. MacIver
5-
# (david@drmaciver.com), but it contains contributions by others. See
6-
# CONTRIBUTING.rst for a full list of people who may hold copyright, and
7-
# consult the git log if you need to determine who owns an individual
8-
# contribution.
4+
# Copyright the Hypothesis Authors.
5+
# Individual contributors are listed in AUTHORS.rst and the git log.
96
#
107
# This Source Code Form is subject to the terms of the Mozilla Public License,
118
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
129
# obtain one at https://mozilla.org/MPL/2.0/.
13-
#
14-
# END HEADER
1510

1611
"""This example demonstrates testing a run length encoding scheme. That is, we
1712
take a sequence and represent it by a shorter sequence where each 'run' of

hypothesis-python/scripts/validate_branch_check.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
# This file is part of Hypothesis, which may be found at
22
# https://github.com/HypothesisWorks/hypothesis/
33
#
4-
# Most of this work is copyright (C) 2013-2021 David R. MacIver
5-
# (david@drmaciver.com), but it contains contributions by others. See
6-
# CONTRIBUTING.rst for a full list of people who may hold copyright, and
7-
# consult the git log if you need to determine who owns an individual
8-
# contribution.
4+
# Copyright the Hypothesis Authors.
5+
# Individual contributors are listed in AUTHORS.rst and the git log.
96
#
107
# This Source Code Form is subject to the terms of the Mozilla Public License,
118
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
129
# obtain one at https://mozilla.org/MPL/2.0/.
13-
#
14-
# END HEADER
1510

1611
import json
1712
import sys

hypothesis-python/setup.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
# This file is part of Hypothesis, which may be found at
22
# https://github.com/HypothesisWorks/hypothesis/
33
#
4-
# Most of this work is copyright (C) 2013-2021 David R. MacIver
5-
# (david@drmaciver.com), but it contains contributions by others. See
6-
# CONTRIBUTING.rst for a full list of people who may hold copyright, and
7-
# consult the git log if you need to determine who owns an individual
8-
# contribution.
4+
# Copyright the Hypothesis Authors.
5+
# Individual contributors are listed in AUTHORS.rst and the git log.
96
#
107
# This Source Code Form is subject to the terms of the Mozilla Public License,
118
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
129
# obtain one at https://mozilla.org/MPL/2.0/.
13-
#
14-
# END HEADER
1510

1611
import os
1712
import sys

hypothesis-python/src/_hypothesis_pytestplugin.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
# This file is part of Hypothesis, which may be found at
22
# https://github.com/HypothesisWorks/hypothesis/
33
#
4-
# Most of this work is copyright (C) 2013-2021 David R. MacIver
5-
# (david@drmaciver.com), but it contains contributions by others. See
6-
# CONTRIBUTING.rst for a full list of people who may hold copyright, and
7-
# consult the git log if you need to determine who owns an individual
8-
# contribution.
4+
# Copyright the Hypothesis Authors.
5+
# Individual contributors are listed in AUTHORS.rst and the git log.
96
#
107
# This Source Code Form is subject to the terms of the Mozilla Public License,
118
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
129
# obtain one at https://mozilla.org/MPL/2.0/.
13-
#
14-
# END HEADER
1510

1611
"""
1712
The pytest plugin for Hypothesis.

hypothesis-python/src/hypothesis/__init__.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
# This file is part of Hypothesis, which may be found at
22
# https://github.com/HypothesisWorks/hypothesis/
33
#
4-
# Most of this work is copyright (C) 2013-2021 David R. MacIver
5-
# (david@drmaciver.com), but it contains contributions by others. See
6-
# CONTRIBUTING.rst for a full list of people who may hold copyright, and
7-
# consult the git log if you need to determine who owns an individual
8-
# contribution.
4+
# Copyright the Hypothesis Authors.
5+
# Individual contributors are listed in AUTHORS.rst and the git log.
96
#
107
# This Source Code Form is subject to the terms of the Mozilla Public License,
118
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
129
# obtain one at https://mozilla.org/MPL/2.0/.
13-
#
14-
# END HEADER
1510

1611
"""Hypothesis is a library for writing unit tests which are parametrized by
1712
some source of data.

hypothesis-python/src/hypothesis/_error_if_old.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
# This file is part of Hypothesis, which may be found at
22
# https://github.com/HypothesisWorks/hypothesis/
33
#
4-
# Most of this work is copyright (C) 2013-2021 David R. MacIver
5-
# (david@drmaciver.com), but it contains contributions by others. See
6-
# CONTRIBUTING.rst for a full list of people who may hold copyright, and
7-
# consult the git log if you need to determine who owns an individual
8-
# contribution.
4+
# Copyright the Hypothesis Authors.
5+
# Individual contributors are listed in AUTHORS.rst and the git log.
96
#
107
# This Source Code Form is subject to the terms of the Mozilla Public License,
118
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
129
# obtain one at https://mozilla.org/MPL/2.0/.
13-
#
14-
# END HEADER
1510

1611
import sys
1712

hypothesis-python/src/hypothesis/_settings.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
# This file is part of Hypothesis, which may be found at
22
# https://github.com/HypothesisWorks/hypothesis/
33
#
4-
# Most of this work is copyright (C) 2013-2021 David R. MacIver
5-
# (david@drmaciver.com), but it contains contributions by others. See
6-
# CONTRIBUTING.rst for a full list of people who may hold copyright, and
7-
# consult the git log if you need to determine who owns an individual
8-
# contribution.
4+
# Copyright the Hypothesis Authors.
5+
# Individual contributors are listed in AUTHORS.rst and the git log.
96
#
107
# This Source Code Form is subject to the terms of the Mozilla Public License,
118
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
129
# obtain one at https://mozilla.org/MPL/2.0/.
13-
#
14-
# END HEADER
1510

1611
"""A module controlling settings for Hypothesis to use in falsification.
1712

hypothesis-python/src/hypothesis/configuration.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
# This file is part of Hypothesis, which may be found at
22
# https://github.com/HypothesisWorks/hypothesis/
33
#
4-
# Most of this work is copyright (C) 2013-2021 David R. MacIver
5-
# (david@drmaciver.com), but it contains contributions by others. See
6-
# CONTRIBUTING.rst for a full list of people who may hold copyright, and
7-
# consult the git log if you need to determine who owns an individual
8-
# contribution.
4+
# Copyright the Hypothesis Authors.
5+
# Individual contributors are listed in AUTHORS.rst and the git log.
96
#
107
# This Source Code Form is subject to the terms of the Mozilla Public License,
118
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
129
# obtain one at https://mozilla.org/MPL/2.0/.
13-
#
14-
# END HEADER
1510

1611
import os
1712

hypothesis-python/src/hypothesis/control.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
# This file is part of Hypothesis, which may be found at
22
# https://github.com/HypothesisWorks/hypothesis/
33
#
4-
# Most of this work is copyright (C) 2013-2021 David R. MacIver
5-
# (david@drmaciver.com), but it contains contributions by others. See
6-
# CONTRIBUTING.rst for a full list of people who may hold copyright, and
7-
# consult the git log if you need to determine who owns an individual
8-
# contribution.
4+
# Copyright the Hypothesis Authors.
5+
# Individual contributors are listed in AUTHORS.rst and the git log.
96
#
107
# This Source Code Form is subject to the terms of the Mozilla Public License,
118
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
129
# obtain one at https://mozilla.org/MPL/2.0/.
13-
#
14-
# END HEADER
1510

1611
import math
1712
import traceback

hypothesis-python/src/hypothesis/core.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
# This file is part of Hypothesis, which may be found at
22
# https://github.com/HypothesisWorks/hypothesis/
33
#
4-
# Most of this work is copyright (C) 2013-2021 David R. MacIver
5-
# (david@drmaciver.com), but it contains contributions by others. See
6-
# CONTRIBUTING.rst for a full list of people who may hold copyright, and
7-
# consult the git log if you need to determine who owns an individual
8-
# contribution.
4+
# Copyright the Hypothesis Authors.
5+
# Individual contributors are listed in AUTHORS.rst and the git log.
96
#
107
# This Source Code Form is subject to the terms of the Mozilla Public License,
118
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
129
# obtain one at https://mozilla.org/MPL/2.0/.
13-
#
14-
# END HEADER
1510

1611
"""This module provides the core primitives of Hypothesis, such as given."""
1712

hypothesis-python/src/hypothesis/database.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
# This file is part of Hypothesis, which may be found at
22
# https://github.com/HypothesisWorks/hypothesis/
33
#
4-
# Most of this work is copyright (C) 2013-2021 David R. MacIver
5-
# (david@drmaciver.com), but it contains contributions by others. See
6-
# CONTRIBUTING.rst for a full list of people who may hold copyright, and
7-
# consult the git log if you need to determine who owns an individual
8-
# contribution.
4+
# Copyright the Hypothesis Authors.
5+
# Individual contributors are listed in AUTHORS.rst and the git log.
96
#
107
# This Source Code Form is subject to the terms of the Mozilla Public License,
118
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
129
# obtain one at https://mozilla.org/MPL/2.0/.
13-
#
14-
# END HEADER
1510

1611
import abc
1712
import binascii

hypothesis-python/src/hypothesis/entry_points.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
# This file is part of Hypothesis, which may be found at
22
# https://github.com/HypothesisWorks/hypothesis/
33
#
4-
# Most of this work is copyright (C) 2013-2021 David R. MacIver
5-
# (david@drmaciver.com), but it contains contributions by others. See
6-
# CONTRIBUTING.rst for a full list of people who may hold copyright, and
7-
# consult the git log if you need to determine who owns an individual
8-
# contribution.
4+
# Copyright the Hypothesis Authors.
5+
# Individual contributors are listed in AUTHORS.rst and the git log.
96
#
107
# This Source Code Form is subject to the terms of the Mozilla Public License,
118
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
129
# obtain one at https://mozilla.org/MPL/2.0/.
13-
#
14-
# END HEADER
1510

1611
"""Run all functions registered for the "hypothesis" entry point.
1712

hypothesis-python/src/hypothesis/errors.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
# This file is part of Hypothesis, which may be found at
22
# https://github.com/HypothesisWorks/hypothesis/
33
#
4-
# Most of this work is copyright (C) 2013-2021 David R. MacIver
5-
# (david@drmaciver.com), but it contains contributions by others. See
6-
# CONTRIBUTING.rst for a full list of people who may hold copyright, and
7-
# consult the git log if you need to determine who owns an individual
8-
# contribution.
4+
# Copyright the Hypothesis Authors.
5+
# Individual contributors are listed in AUTHORS.rst and the git log.
96
#
107
# This Source Code Form is subject to the terms of the Mozilla Public License,
118
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
129
# obtain one at https://mozilla.org/MPL/2.0/.
13-
#
14-
# END HEADER
1510

1611

1712
class HypothesisException(Exception):

hypothesis-python/src/hypothesis/executors.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
# This file is part of Hypothesis, which may be found at
22
# https://github.com/HypothesisWorks/hypothesis/
33
#
4-
# Most of this work is copyright (C) 2013-2021 David R. MacIver
5-
# (david@drmaciver.com), but it contains contributions by others. See
6-
# CONTRIBUTING.rst for a full list of people who may hold copyright, and
7-
# consult the git log if you need to determine who owns an individual
8-
# contribution.
4+
# Copyright the Hypothesis Authors.
5+
# Individual contributors are listed in AUTHORS.rst and the git log.
96
#
107
# This Source Code Form is subject to the terms of the Mozilla Public License,
118
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
129
# obtain one at https://mozilla.org/MPL/2.0/.
13-
#
14-
# END HEADER
1510

1611

1712
def default_executor(function): # pragma: nocover
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
# This file is part of Hypothesis, which may be found at
22
# https://github.com/HypothesisWorks/hypothesis/
33
#
4-
# Most of this work is copyright (C) 2013-2021 David R. MacIver
5-
# (david@drmaciver.com), but it contains contributions by others. See
6-
# CONTRIBUTING.rst for a full list of people who may hold copyright, and
7-
# consult the git log if you need to determine who owns an individual
8-
# contribution.
4+
# Copyright the Hypothesis Authors.
5+
# Individual contributors are listed in AUTHORS.rst and the git log.
96
#
107
# This Source Code Form is subject to the terms of the Mozilla Public License,
118
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
129
# obtain one at https://mozilla.org/MPL/2.0/.
13-
#
14-
# END HEADER

0 commit comments

Comments
 (0)