From dd180402325a232c580d0068caad694f0b9929f1 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Mon, 1 Feb 2021 21:52:51 +0100 Subject: [PATCH] Fix some source file headers --- nw/constants/constants.py | 1 - nw/gui/noveltree.py | 37 ++++++++++++++++++------------------- tests/conftest.py | 20 +++++++++++++++++++- tests/dummy.py | 20 +++++++++++++++++++- tests/tools.py | 20 +++++++++++++++++++- 5 files changed, 75 insertions(+), 23 deletions(-) diff --git a/nw/constants/constants.py b/nw/constants/constants.py index 5b961e10..10c44bac 100644 --- a/nw/constants/constants.py +++ b/nw/constants/constants.py @@ -49,7 +49,6 @@ class nwConst(): class nwLists(): """Lists used for grouping various other constants. """ - # Regular user-accessible item types REG_TYPES = {nwItemType.ROOT, nwItemType.FOLDER, nwItemType.FILE} diff --git a/nw/gui/noveltree.py b/nw/gui/noveltree.py index 1174bbfe..d8c23b04 100644 --- a/nw/gui/noveltree.py +++ b/nw/gui/noveltree.py @@ -1,28 +1,27 @@ # -*- coding: utf-8 -*- -"""novelWriter GUI Novel Tree +""" +novelWriter – GUI Novel Tree +============================ +GUI classe for the main window novel tree - novelWriter – GUI Novel Tree -============================== - Class holding the project's novel files tree view +File History: +Created: 2020-12-20 [1.1a0] - File History: - Created: 2020-12-20 [1.1a0] +This file is a part of novelWriter +Copyright 2018–2020, Veronica Berglyd Olsen - This file is a part of novelWriter - Copyright 2018–2020, Veronica Berglyd Olsen +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 +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. - 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 - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. +This program 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. - This program 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 this program. If not, see . +You should have received a copy of the GNU General Public License +along with this program. If not, see . """ import nw diff --git a/tests/conftest.py b/tests/conftest.py index 670085d5..57956aff 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,5 +1,23 @@ # -*- coding: utf-8 -*- -"""novelWriter Test Config +""" +novelWriter – Test Suite Configuration +====================================== + +This file is a part of novelWriter +Copyright 2018–2021, Veronica Berglyd Olsen + +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 +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program 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 this program. If not, see . """ import sys diff --git a/tests/dummy.py b/tests/dummy.py index 9a74bb61..72ac5e21 100644 --- a/tests/dummy.py +++ b/tests/dummy.py @@ -1,5 +1,23 @@ # -*- coding: utf-8 -*- -"""novelWriter Test Dummy GUI Classes +""" +novelWriter – Test Suite Dummy Classes +====================================== + +This file is a part of novelWriter +Copyright 2018–2021, Veronica Berglyd Olsen + +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 +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program 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 this program. If not, see . """ # =========================================================================== # diff --git a/tests/tools.py b/tests/tools.py index d55a1e4e..1b688f1e 100644 --- a/tests/tools.py +++ b/tests/tools.py @@ -1,5 +1,23 @@ # -*- coding: utf-8 -*- -"""novelWriter Test Tools +""" +novelWriter – Test Suite Tools +============================== + +This file is a part of novelWriter +Copyright 2018–2021, Veronica Berglyd Olsen + +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 +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program 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 this program. If not, see . """ import os