Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed license headers #85

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/itoolkit/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright contributors to the python-itoolkit project
# SPDX-License-Identifier: MIT
__version__ = "2.0.0-dev"

from .toolkit import iToolKit
2 changes: 2 additions & 0 deletions src/itoolkit/base.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright contributors to the python-itoolkit project
# SPDX-License-Identifier: MIT
import xml.dom.minidom

class iBase: # noqa N801
2 changes: 2 additions & 0 deletions src/itoolkit/command.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright contributors to the python-itoolkit project
# SPDX-License-Identifier: MIT
from .base import iBase


2 changes: 2 additions & 0 deletions src/itoolkit/db2/idb2call.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright contributors to the python-itoolkit project
# SPDX-License-Identifier: MIT
# -*- coding: utf-8 -*-
import warnings
import os
2 changes: 2 additions & 0 deletions src/itoolkit/errors.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright contributors to the python-itoolkit project
# SPDX-License-Identifier: MIT
__all__ = [
'TransportError',
'TransportClosedException',
2 changes: 2 additions & 0 deletions src/itoolkit/lib/ilibcall.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright contributors to the python-itoolkit project
# SPDX-License-Identifier: MIT
# -*- coding: utf-8 -*-
import warnings
from ..transport.direct import DirectTransport
2 changes: 2 additions & 0 deletions src/itoolkit/program_call.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright contributors to the python-itoolkit project
# SPDX-License-Identifier: MIT
from .base import iBase


2 changes: 2 additions & 0 deletions src/itoolkit/rest/irestcall.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright contributors to the python-itoolkit project
# SPDX-License-Identifier: MIT
# -*- coding: utf-8 -*-
import warnings
import os
2 changes: 2 additions & 0 deletions src/itoolkit/shell.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright contributors to the python-itoolkit project
# SPDX-License-Identifier: MIT
from .base import iBase

try:
2 changes: 2 additions & 0 deletions src/itoolkit/sql.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright contributors to the python-itoolkit project
# SPDX-License-Identifier: MIT
import xml.dom.minidom

from .base import iBase
3 changes: 2 additions & 1 deletion src/itoolkit/toolkit.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

# Copyright contributors to the python-itoolkit project
# SPDX-License-Identifier: MIT
import xml.dom.minidom
import re
import sys
2 changes: 2 additions & 0 deletions src/itoolkit/transport/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright contributors to the python-itoolkit project
# SPDX-License-Identifier: MIT
# -*- coding: utf-8 -*-
from .base import XmlServiceTransport
from .database import DatabaseTransport
2 changes: 2 additions & 0 deletions src/itoolkit/transport/_direct.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright contributors to the python-itoolkit project
# SPDX-License-Identifier: MIT
import os

from ctypes import c_int, c_uint, c_int16, c_ulonglong, c_void_p, c_char_p, \
2 changes: 2 additions & 0 deletions src/itoolkit/transport/base.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright contributors to the python-itoolkit project
# SPDX-License-Identifier: MIT
from .errors import TransportClosedError


2 changes: 2 additions & 0 deletions src/itoolkit/transport/database.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright contributors to the python-itoolkit project
# SPDX-License-Identifier: MIT
# -*- coding: utf-8 -*-
import logging

2 changes: 2 additions & 0 deletions src/itoolkit/transport/direct.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright contributors to the python-itoolkit project
# SPDX-License-Identifier: MIT
# -*- coding: utf-8 -*-
from .base import XmlServiceTransport

2 changes: 2 additions & 0 deletions src/itoolkit/transport/errors.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright contributors to the python-itoolkit project
# SPDX-License-Identifier: MIT
from ..errors import TransportClosedException

class TransportClosedError(TransportClosedException):
2 changes: 2 additions & 0 deletions src/itoolkit/transport/http.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright contributors to the python-itoolkit project
# SPDX-License-Identifier: MIT
# -*- coding: utf-8 -*-
from .base import XmlServiceTransport
import contextlib
2 changes: 2 additions & 0 deletions src/itoolkit/transport/ssh.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright contributors to the python-itoolkit project
# SPDX-License-Identifier: MIT
# -*- coding: utf-8 -*-
"""
XMLSERVICE ssh call (ssh job, often in QUSRWRK)