From 3b9f5c80f88d184b5f49695ee630e857a7f9a3c5 Mon Sep 17 00:00:00 2001 From: RJ722 Date: Mon, 30 Mar 2020 02:26:39 +0530 Subject: [PATCH] Add copyright header to all vulture/*.py files --- vulture/core.py | 2 +- vulture/lines.py | 25 +++++++++++++++++++++++++ vulture/noqa.py | 25 +++++++++++++++++++++++++ vulture/utils.py | 25 +++++++++++++++++++++++++ 4 files changed, 76 insertions(+), 1 deletion(-) diff --git a/vulture/core.py b/vulture/core.py index 16f0339a..dd57cc9c 100644 --- a/vulture/core.py +++ b/vulture/core.py @@ -2,7 +2,7 @@ # # vulture - Find dead code. # -# Copyright (c) 2012-2019 Jendrik Seipp (jendrikseipp@gmail.com) +# Copyright (c) 2012-2020 Jendrik Seipp (jendrikseipp@gmail.com) # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the diff --git a/vulture/lines.py b/vulture/lines.py index c7d0bc4c..f51331d7 100644 --- a/vulture/lines.py +++ b/vulture/lines.py @@ -1,3 +1,28 @@ +# -*- coding: utf-8 -*- +# +# vulture - Find dead code. +# +# Copyright (c) 2012-2020 Jendrik Seipp (jendrikseipp@gmail.com) +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the +# "Software"), to deal in the Software without restriction, including +# without limitation the rights to use, copy, modify, merge, publish, +# distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software is furnished to do so, subject to +# the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import ast import sys diff --git a/vulture/noqa.py b/vulture/noqa.py index 8bce1434..7631b435 100644 --- a/vulture/noqa.py +++ b/vulture/noqa.py @@ -1,3 +1,28 @@ +# -*- coding: utf-8 -*- +# +# vulture - Find dead code. +# +# Copyright (c) 2012-2020 Jendrik Seipp (jendrikseipp@gmail.com) +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the +# "Software"), to deal in the Software without restriction, including +# without limitation the rights to use, copy, modify, merge, publish, +# distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software is furnished to do so, subject to +# the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + from collections import defaultdict import re diff --git a/vulture/utils.py b/vulture/utils.py index 453fcb94..2c3cc8c4 100644 --- a/vulture/utils.py +++ b/vulture/utils.py @@ -1,3 +1,28 @@ +# -*- coding: utf-8 -*- +# +# vulture - Find dead code. +# +# Copyright (c) 2012-2020 Jendrik Seipp (jendrikseipp@gmail.com) +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the +# "Software"), to deal in the Software without restriction, including +# without limitation the rights to use, copy, modify, merge, publish, +# distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software is furnished to do so, subject to +# the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import ast import codecs import os