Skip to content

Commit 17c7243

Browse files
authored
Merge pull request #58 from dave3d/ApplyLicense
Added Apache License header
2 parents 045a80b + 843743b commit 17c7243

File tree

6 files changed

+92
-1
lines changed

6 files changed

+92
-1
lines changed

comment_spell_check.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
#!/usr/bin/env python3
22

3+
# ==========================================================================
4+
#
5+
# Copyright NumFOCUS
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0.txt
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
# ==========================================================================*/
20+
321
import sys
422
import os
523
import fnmatch

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ authors = [
99
]
1010
description = "A script to automatically spell checks comments of a codebase."
1111
readme = "README.md"
12+
license = {file = "LICENSE"}
1213
requires-python = ">=3.8"
1314
classifiers = [
1415
"Programming Language :: Python :: 3",
15-
"License :: OSI Approved :: MIT License",
16+
"License :: OSI Approved :: Apache Software License",
1617
"Operating System :: OS Independent",
1718
]
1819
dynamic = ["dependencies", "version"]

tests/test_comment_spell_check.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# ==========================================================================
2+
#
3+
# Copyright NumFOCUS
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0.txt
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# ==========================================================================*/
18+
119
import unittest
220
import subprocess
321

utils/itk_crawl.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
#! /usr/bin/env python
22

3+
# ==========================================================================
4+
#
5+
# Copyright NumFOCUS
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0.txt
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
# ==========================================================================*/
20+
321
import itk
422

523
wrds = dir(itk)

utils/myspell.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
#! /usr/bin/env python
22

3+
# ==========================================================================
4+
#
5+
# Copyright NumFOCUS
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0.txt
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
# ==========================================================================*/
20+
321
import sys
422
from enchant.checker import SpellChecker
523
from enchant.tokenize import EmailFilter, URLFilter

utils/sitk_crawl.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
#! /usr/bin/env python
22

3+
# ==========================================================================
4+
#
5+
# Copyright NumFOCUS
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0.txt
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
# ==========================================================================*/
20+
321
import SimpleITK as sitk
422

523
wrds = dir(sitk)

0 commit comments

Comments
 (0)