Skip to content

Commit

Permalink
More cleanup of license headers (PyCQA#679)
Browse files Browse the repository at this point in the history
The preferred format for license headers in source files is to
use the SPDX short hand form.

Signed-off-by: Eric Brown <browne@vmware.com>
  • Loading branch information
ericwb authored and mikespallino committed Aug 25, 2021
1 parent 3762fbf commit 09cb52e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 23 deletions.
12 changes: 1 addition & 11 deletions bandit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,7 @@
#
# Copyright 2014 Hewlett-Packard Development Company, L.P.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
# SPDX-License-Identifier: Apache-2.0

import pbr.version

Expand Down
12 changes: 1 addition & 11 deletions bandit/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,7 @@
#
# Copyright 2014 Hewlett-Packard Development Company, L.P.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
# SPDX-License-Identifier: Apache-2.0

from bandit.core import config # noqa
from bandit.core import context # noqa
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#
# SPDX-License-Identifier: Apache-2.0

# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools


Expand Down

0 comments on commit 09cb52e

Please sign in to comment.