Skip to content

Commit

Permalink
More headers
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthHater committed May 28, 2020
1 parent 8ddd6ad commit 29d91a4
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 8 deletions.
16 changes: 15 additions & 1 deletion jake/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
#
# Copyright 2019-Present Sonatype Inc.
#
# 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.
#
"""Sets version for the application"""


__version__ = '0.2.7'
5 changes: 4 additions & 1 deletion jake/types/coordinateresults.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""coordinateresults.py creates a CoordinateResults type object"""
#
# Copyright 2019-Present Sonatype Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -12,6 +12,9 @@
# 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.
#

"""coordinateresults.py creates a CoordinateResults type object"""
import json

class CoordinateResults():
Expand Down
5 changes: 4 additions & 1 deletion jake/types/coordinates.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""coordinates.py creates a Coordinates type object"""
#
# Copyright 2019-Present Sonatype Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -12,6 +12,9 @@
# 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.
#

"""coordinates.py creates a Coordinates type object"""
import json

class Coordinates():
Expand Down
7 changes: 5 additions & 2 deletions jake/types/results_decoder.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""results_decoder.py takes the JSON results from a call to OSSIndex and
turns them into CoordinateResults or Vulnerabilities type objects"""
#
# Copyright 2019-Present Sonatype Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -13,6 +12,10 @@
# 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.
#

"""results_decoder.py takes the JSON results from a call to OSSIndex and
turns them into CoordinateResults or Vulnerabilities type objects"""
import json

from ..types.coordinateresults import CoordinateResults
Expand Down
8 changes: 5 additions & 3 deletions jake/types/vulnerabilities.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
"""vulnerabilities.py creates a Vulnerabilities type object"""
# pylint: disable=C0103
# pylint: disable=W0622
#
# Copyright 2019-Present Sonatype Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,7 +12,11 @@
# 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.
#

"""vulnerabilities.py creates a Vulnerabilities type object"""
# pylint: disable=C0103
# pylint: disable=W0622

class Vulnerabilities():
"""creates a Vulnerabilities type object"""
Expand Down

0 comments on commit 29d91a4

Please sign in to comment.