Skip to content

Commit ccd2427

Browse files
Add explicit copyright notice to all source files, and remove unnecessary copyright symbol from LICENSE
1 parent 3b6be24 commit ccd2427

14 files changed

+51
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99
### Added
10+
* Add explicit copyright notice to all source files
1011
### Changed
1112
### Deprecated
1213
### Removed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 DeepL GmbH (https://www.deepl.com)
3+
Copyright 2021 DeepL GmbH (https://www.deepl.com)
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

deepl/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2021 DeepL GmbH (https://www.deepl.com)
2+
# Use of this source code is governed by an MIT
3+
# license that can be found in the LICENSE file.
4+
15
from .version import VERSION as __version__ # noqa
26

37
__author__ = "DeepL GmbH <[email protected]>"

deepl/__main__.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2021 DeepL GmbH (https://www.deepl.com)
2+
# Use of this source code is governed by an MIT
3+
# license that can be found in the LICENSE file.
4+
15
import argparse
26
import deepl
37
import logging

deepl/exceptions.py

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2021 DeepL GmbH (https://www.deepl.com)
2+
# Use of this source code is governed by an MIT
3+
# license that can be found in the LICENSE file.
4+
5+
16
class DeepLException(Exception):
27
"""Base class for deepl module exceptions."""
38

deepl/http_client.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2021 DeepL GmbH (https://www.deepl.com)
2+
# Use of this source code is governed by an MIT
3+
# license that can be found in the LICENSE file.
4+
15
from . import version
26
from .exceptions import ConnectionException
37
import http

deepl/translator.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2021 DeepL GmbH (https://www.deepl.com)
2+
# Use of this source code is governed by an MIT
3+
# license that can be found in the LICENSE file.
4+
15
from . import http_client, util
26
from .exceptions import (
37
QuotaExceededException,

deepl/util.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2021 DeepL GmbH (https://www.deepl.com)
2+
# Use of this source code is governed by an MIT
3+
# license that can be found in the LICENSE file.
4+
15
import logging
26
from typing import Optional
37

deepl/version.py

+4
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
# Copyright 2021 DeepL GmbH (https://www.deepl.com)
2+
# Use of this source code is governed by an MIT
3+
# license that can be found in the LICENSE file.
4+
15
VERSION = "1.0.0"

tests/conftest.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2021 DeepL GmbH (https://www.deepl.com)
2+
# Use of this source code is governed by an MIT
3+
# license that can be found in the LICENSE file.
4+
15
import deepl
26
import os
37
from pydantic import BaseSettings

tests/test_cli.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2021 DeepL GmbH (https://www.deepl.com)
2+
# Use of this source code is governed by an MIT
3+
# license that can be found in the LICENSE file.
4+
15
from click.testing import CliRunner
26
from .conftest import *
37
from deepl import __main__

tests/test_general.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2021 DeepL GmbH (https://www.deepl.com)
2+
# Use of this source code is governed by an MIT
3+
# license that can be found in the LICENSE file.
4+
15
from .conftest import *
26
import deepl
37
import pathlib

tests/test_translate_document.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2021 DeepL GmbH (https://www.deepl.com)
2+
# Use of this source code is governed by an MIT
3+
# license that can be found in the LICENSE file.
4+
15
from .conftest import *
26
import deepl
37
import io

tests/test_translate_text.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2021 DeepL GmbH (https://www.deepl.com)
2+
# Use of this source code is governed by an MIT
3+
# license that can be found in the LICENSE file.
4+
15
from .conftest import *
26
import deepl
37
import re

0 commit comments

Comments
 (0)