Skip to content

Commit 8fa8823

Browse files
committed
[Python] Add Swift headers to Python files
Add the standard Swift header comment for Python files to all Python files in this repository.
1 parent 5a564c5 commit 8fa8823

File tree

6 files changed

+51
-3
lines changed

6 files changed

+51
-3
lines changed

Tests/Functional/lit.cfg

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# Tests/Functional/lit.cfg - Functional test suite lit config -*- python -*-
2+
#
3+
# This source file is part of the Swift.org open source project
4+
#
5+
# Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
6+
# Licensed under Apache License v2.0 with Runtime Library Exception
7+
#
8+
# See http://swift.org/LICENSE.txt for license information
9+
# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10+
111
import os
212
import platform
313
import tempfile

Tests/Functional/xctest_checker/tests/test_compare.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# test_compare.py - Unit tests for xctest_checker.compare -*- python -*-
2+
#
3+
# This source file is part of the Swift.org open source project
4+
#
5+
# Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
6+
# Licensed under Apache License v2.0 with Runtime Library Exception
7+
#
8+
# See http://swift.org/LICENSE.txt for license information
9+
# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10+
111
import tempfile
212
import unittest
313

Tests/Functional/xctest_checker/xctest_checker.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
#!/usr/bin/env python
2+
# xctest_checker.py - Verify XCTest output -*- python -*-
3+
#
4+
# This source file is part of the Swift.org open source project
5+
#
6+
# Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
7+
# Licensed under Apache License v2.0 with Runtime Library Exception
8+
#
9+
# See http://swift.org/LICENSE.txt for license information
10+
# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
211

312
import xctest_checker
413

Tests/Functional/xctest_checker/xctest_checker/compare.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# xctest_checker/compare.py - Compares two files line by line -*- python -*-
2+
#
3+
# This source file is part of the Swift.org open source project
4+
#
5+
# Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
6+
# Licensed under Apache License v2.0 with Runtime Library Exception
7+
#
8+
# See http://swift.org/LICENSE.txt for license information
9+
# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10+
111
import re
212

313

Tests/Functional/xctest_checker/xctest_checker/main.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
#!/usr/bin/env python
2+
# xctest_checker/main.py - Entry point for xctest_checker -*- python -*-
3+
#
4+
# This source file is part of the Swift.org open source project
5+
#
6+
# Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
7+
# Licensed under Apache License v2.0 with Runtime Library Exception
8+
#
9+
# See http://swift.org/LICENSE.txt for license information
10+
# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
211

312
from __future__ import absolute_import
413

build_script.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#!/usr/bin/env python
2-
2+
# build_script.py - Build, install, and test XCTest -*- python -*-
3+
#
34
# This source file is part of the Swift.org open source project
45
#
5-
# Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
6+
# Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
67
# Licensed under Apache License v2.0 with Runtime Library Exception
78
#
89
# See http://swift.org/LICENSE.txt for license information
910
# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10-
#
1111

1212
import argparse
1313
import glob

0 commit comments

Comments
 (0)