diff --git a/LICENSE b/LICENSE index 7c71f6a..326fb30 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (C) 2016-2017 Patrick Seewald, Tiziano Müller, Ole Schuett, Mohamed Fawzi, CP2K developers group +Copyright (C) 2016-2018 Patrick Seewald, CP2K developers group This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/fprettify.py b/fprettify.py index 4c1fbcf..2548136 100755 --- a/fprettify.py +++ b/fprettify.py @@ -1,5 +1,23 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +############################################################################### +# This file is part of fprettify. +# Copyright (C) 2016-2018 Patrick Seewald, CP2K developers group +# +# fprettify is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# fprettify is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with fprettify. If not, see . +############################################################################### + """wrapper script to run fprettify""" from fprettify import run # pragma: no cover diff --git a/fprettify/__init__.py b/fprettify/__init__.py index f5d1192..3c0b0f8 100644 --- a/fprettify/__init__.py +++ b/fprettify/__init__.py @@ -1,5 +1,23 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +############################################################################### +# This file is part of fprettify. +# Copyright (C) 2016-2018 Patrick Seewald, CP2K developers group +# +# fprettify is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# fprettify is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with fprettify. If not, see . +############################################################################### + """ Impose white space conventions and indentation based on scopes / subunits diff --git a/fprettify/fparse_utils.py b/fprettify/fparse_utils.py index 8a827c7..da1ad05 100644 --- a/fprettify/fparse_utils.py +++ b/fprettify/fparse_utils.py @@ -1,3 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# This file is part of fprettify. +# Copyright (C) 2016-2018 Patrick Seewald, CP2K developers group +# +# fprettify is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# fprettify is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with fprettify. If not, see . +############################################################################### + """This is a collection of Fortran parsing utilities.""" from __future__ import (absolute_import, division, diff --git a/fprettify/tests/__init__.py b/fprettify/tests/__init__.py index f13402d..070943b 100644 --- a/fprettify/tests/__init__.py +++ b/fprettify/tests/__init__.py @@ -1,5 +1,23 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +############################################################################### +# This file is part of fprettify. +# Copyright (C) 2016-2018 Patrick Seewald, CP2K developers group +# +# fprettify is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# fprettify is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with fprettify. If not, see . +############################################################################### + """Dynamically create tests based on examples in examples/before.""" from __future__ import (absolute_import, division, print_function, unicode_literals) diff --git a/run_tests.py b/run_tests.py index 94524c3..a01fee4 100755 --- a/run_tests.py +++ b/run_tests.py @@ -1,5 +1,23 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +############################################################################### +# This file is part of fprettify. +# Copyright (C) 2016-2018 Patrick Seewald, CP2K developers group +# +# fprettify is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# fprettify is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with fprettify. If not, see . +############################################################################### + import unittest from fprettify.tests import FPrettifyTestCase, FAILED_FILE, RESULT_FILE import fileinput diff --git a/setup.py b/setup.py index 76b98e2..852d536 100755 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ long_description = f.read() setup(name='fprettify', - version='0.3.1', + version='0.3.2', description='auto-formatter for modern fortran source code', long_description=long_description, author='Patrick Seewald',