diff --git a/src/Doc/sphinx/conf.py b/src/Doc/sphinx/conf.py index b94c1953f6..64ae960cbb 100644 --- a/src/Doc/sphinx/conf.py +++ b/src/Doc/sphinx/conf.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - #*************************************************************************** #* * #* Copyright (c) 2012 * diff --git a/src/Gui/Macro.cpp b/src/Gui/Macro.cpp index f68c4e7b37..cfaa1b354e 100644 --- a/src/Gui/Macro.cpp +++ b/src/Gui/Macro.cpp @@ -99,7 +99,6 @@ bool MacroFile::commit() } QString header; - header += QStringLiteral("# -*- coding: utf-8 -*-\n\n"); header += QStringLiteral("# Macro Begin: "); header += this->macroName; header += QStringLiteral(" +++++++++++++++++++++++++++++++++++++++++++++++++\n"); diff --git a/src/Gui/OverlayParams.py b/src/Gui/OverlayParams.py index 4ba6f17685..848461f771 100644 --- a/src/Gui/OverlayParams.py +++ b/src/Gui/OverlayParams.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # *************************************************************************** # * Copyright (c) 2022 Zheng Lei (realthunder) * # * * diff --git a/src/Gui/PreferencePages/DlgSettingsAdvanced.py b/src/Gui/PreferencePages/DlgSettingsAdvanced.py index 9144dc6b24..30d77ebe19 100644 --- a/src/Gui/PreferencePages/DlgSettingsAdvanced.py +++ b/src/Gui/PreferencePages/DlgSettingsAdvanced.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # *************************************************************************** # * Copyright (c) 2022 Zheng Lei (realthunder) * # * * diff --git a/src/Gui/RemoteDebugger.py b/src/Gui/RemoteDebugger.py index 7e3eba88c3..8f0ee4d568 100644 --- a/src/Gui/RemoteDebugger.py +++ b/src/Gui/RemoteDebugger.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- #/****************************************************************************** # * Copyright (c) 2020 Werner Mayer * # * * diff --git a/src/Gui/TreeParams.py b/src/Gui/TreeParams.py index 7caa64be22..58442d5350 100644 --- a/src/Gui/TreeParams.py +++ b/src/Gui/TreeParams.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # *************************************************************************** # * Copyright (c) 2022 Zheng Lei (realthunder) * # * * diff --git a/src/Mod/Draft/Draft.py b/src/Mod/Draft/Draft.py index 1d05ec41fc..558dcfd68e 100644 --- a/src/Mod/Draft/Draft.py +++ b/src/Mod/Draft/Draft.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # *************************************************************************** # * Copyright (c) 2009, 2010 Yorik van Havre * # * Copyright (c) 2009, 2010 Ken Cline * diff --git a/src/Mod/Draft/draftguitools/gui_annotationstyleeditor.py b/src/Mod/Draft/draftguitools/gui_annotationstyleeditor.py index fe28f95058..c7d801da1c 100644 --- a/src/Mod/Draft/draftguitools/gui_annotationstyleeditor.py +++ b/src/Mod/Draft/draftguitools/gui_annotationstyleeditor.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # *************************************************************************** # * Copyright (c) 2020 Yorik van Havre * # * * diff --git a/src/Mod/Draft/draftmake/make_dimension.py b/src/Mod/Draft/draftmake/make_dimension.py index dee7fc25fb..05f29d1d3d 100644 --- a/src/Mod/Draft/draftmake/make_dimension.py +++ b/src/Mod/Draft/draftmake/make_dimension.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # *************************************************************************** # * Copyright (c) 2009, 2010 Yorik van Havre * # * Copyright (c) 2009, 2010 Ken Cline * diff --git a/src/Mod/Draft/draftmake/make_label.py b/src/Mod/Draft/draftmake/make_label.py index e8c9381e06..bdef51646f 100644 --- a/src/Mod/Draft/draftmake/make_label.py +++ b/src/Mod/Draft/draftmake/make_label.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # *************************************************************************** # * Copyright (c) 2009, 2010 Yorik van Havre * # * Copyright (c) 2009, 2010 Ken Cline * diff --git a/src/Mod/Draft/draftobjects/dimension.py b/src/Mod/Draft/draftobjects/dimension.py index 35ab21793e..ecc56ede10 100644 --- a/src/Mod/Draft/draftobjects/dimension.py +++ b/src/Mod/Draft/draftobjects/dimension.py @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +# # *************************************************************************** # * Copyright (c) 2009, 2010 Yorik van Havre * # * Copyright (c) 2009, 2010 Ken Cline * diff --git a/src/Mod/Draft/draftobjects/label.py b/src/Mod/Draft/draftobjects/label.py index 93f1f0de44..5f843db283 100644 --- a/src/Mod/Draft/draftobjects/label.py +++ b/src/Mod/Draft/draftobjects/label.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # *************************************************************************** # * Copyright (c) 2009, 2010 Yorik van Havre * # * Copyright (c) 2009, 2010 Ken Cline * diff --git a/src/Mod/Draft/draftutils/groups.py b/src/Mod/Draft/draftutils/groups.py index 0e5854088a..38615ab813 100644 --- a/src/Mod/Draft/draftutils/groups.py +++ b/src/Mod/Draft/draftutils/groups.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # *************************************************************************** # * (c) 2009, 2010 * # * Yorik van Havre , Ken Cline * diff --git a/src/Mod/Draft/draftutils/utils.py b/src/Mod/Draft/draftutils/utils.py index dcbd6b161c..69a11eed53 100644 --- a/src/Mod/Draft/draftutils/utils.py +++ b/src/Mod/Draft/draftutils/utils.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # *************************************************************************** # * Copyright (c) 2009, 2010 Yorik van Havre * # * Copyright (c) 2009, 2010 Ken Cline * diff --git a/src/Mod/Draft/importAirfoilDAT.py b/src/Mod/Draft/importAirfoilDAT.py index 4ad1f0de17..e9af498e59 100644 --- a/src/Mod/Draft/importAirfoilDAT.py +++ b/src/Mod/Draft/importAirfoilDAT.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ## @package importAirfoilDAT # \ingroup DRAFT # \brief Airfoil (.dat) file importer diff --git a/src/Mod/Help/Help.py b/src/Mod/Help/Help.py index cf6249e05c..a69d8a6477 100644 --- a/src/Mod/Help/Help.py +++ b/src/Mod/Help/Help.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # *************************************************************************** # * Copyright (c) 2021 Yorik van Havre * # * * diff --git a/src/Mod/Help/InitGui.py b/src/Mod/Help/InitGui.py index 14faeedb34..96683c71b8 100644 --- a/src/Mod/Help/InitGui.py +++ b/src/Mod/Help/InitGui.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # *************************************************************************** # * Copyright (c) 2021 Yorik van Havre * # * * diff --git a/src/Mod/Import/stepZ.py b/src/Mod/Import/stepZ.py index 1e55c3a775..5d5d1fab0f 100644 --- a/src/Mod/Import/stepZ.py +++ b/src/Mod/Import/stepZ.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # **************************************************************************** # * Copyright (c) 2018 Maurice * # * * diff --git a/src/Mod/Mesh/App/MeshTestsApp.py b/src/Mod/Mesh/App/MeshTestsApp.py index 9fb0afe095..199866adc9 100644 --- a/src/Mod/Mesh/App/MeshTestsApp.py +++ b/src/Mod/Mesh/App/MeshTestsApp.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- # Copyright (c) 2007 Jürgen Riegel # LGPL diff --git a/src/Mod/Part/BasicShapes/ShapeContent.py b/src/Mod/Part/BasicShapes/ShapeContent.py index f413808848..453c125ef2 100644 --- a/src/Mod/Part/BasicShapes/ShapeContent.py +++ b/src/Mod/Part/BasicShapes/ShapeContent.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # ShapeContent.py # 2021, by Mark Ganson # LGPL 2.1 or later diff --git a/src/Mod/Part/MakeBottle.py b/src/Mod/Part/MakeBottle.py index ddcc360225..0804370b60 100644 --- a/src/Mod/Part/MakeBottle.py +++ b/src/Mod/Part/MakeBottle.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2008 Werner Mayer LGPL diff --git a/src/Mod/Part/parttests/ColorPerFaceTest.py b/src/Mod/Part/parttests/ColorPerFaceTest.py index 85cdf8a858..99e16db608 100644 --- a/src/Mod/Part/parttests/ColorPerFaceTest.py +++ b/src/Mod/Part/parttests/ColorPerFaceTest.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- # test to check color per face when after restore diff --git a/src/Mod/Part/parttests/TopoShapeListTest.py b/src/Mod/Part/parttests/TopoShapeListTest.py index f594e86215..768233d54f 100644 --- a/src/Mod/Part/parttests/TopoShapeListTest.py +++ b/src/Mod/Part/parttests/TopoShapeListTest.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- # basic test script for PropertyTopoShapeList diff --git a/src/Mod/PartDesign/Scripts/DistanceBolt.py b/src/Mod/PartDesign/Scripts/DistanceBolt.py index f14ff40dfe..be0f6241fb 100644 --- a/src/Mod/PartDesign/Scripts/DistanceBolt.py +++ b/src/Mod/PartDesign/Scripts/DistanceBolt.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2010 Werner Mayer LGPL """ diff --git a/src/Mod/PartDesign/Scripts/Epitrochoid.py b/src/Mod/PartDesign/Scripts/Epitrochoid.py index 0575b55843..53a909784b 100644 --- a/src/Mod/PartDesign/Scripts/Epitrochoid.py +++ b/src/Mod/PartDesign/Scripts/Epitrochoid.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2011 Werner Mayer LGPL # diff --git a/src/Mod/PartDesign/Scripts/FilletArc.py b/src/Mod/PartDesign/Scripts/FilletArc.py index b710dde829..26c8b3b466 100644 --- a/src/Mod/PartDesign/Scripts/FilletArc.py +++ b/src/Mod/PartDesign/Scripts/FilletArc.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2010 Werner Mayer LGPL __author__ = "Werner Mayer " diff --git a/src/Mod/PartDesign/Scripts/Parallelepiped.py b/src/Mod/PartDesign/Scripts/Parallelepiped.py index 6ebb1eb503..5662e34ae8 100644 --- a/src/Mod/PartDesign/Scripts/Parallelepiped.py +++ b/src/Mod/PartDesign/Scripts/Parallelepiped.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2011 Werner Mayer LGPL """ diff --git a/src/Mod/PartDesign/Scripts/RadialCopy.py b/src/Mod/PartDesign/Scripts/RadialCopy.py index 75f7e433e8..98ca5a4cad 100644 --- a/src/Mod/PartDesign/Scripts/RadialCopy.py +++ b/src/Mod/PartDesign/Scripts/RadialCopy.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2010 Werner Mayer LGPL """ diff --git a/src/Mod/PartDesign/Scripts/Spring.py b/src/Mod/PartDesign/Scripts/Spring.py index 8b4d9f1a7a..d5005c5c8e 100644 --- a/src/Mod/PartDesign/Scripts/Spring.py +++ b/src/Mod/PartDesign/Scripts/Spring.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2011 Adrian Przekwas LGPL from __future__ import division # allows floating point division from integers diff --git a/src/Mod/PartDesign/WizardShaft/SegmentFunction.py b/src/Mod/PartDesign/WizardShaft/SegmentFunction.py index 675f87e415..a9ee010e37 100644 --- a/src/Mod/PartDesign/WizardShaft/SegmentFunction.py +++ b/src/Mod/PartDesign/WizardShaft/SegmentFunction.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- #/****************************************************************************** # * Copyright (c) 2012 Jan Rheinländer * # * * diff --git a/src/Mod/PartDesign/WizardShaft/Shaft.py b/src/Mod/PartDesign/WizardShaft/Shaft.py index fc3be14aba..e9d321d713 100644 --- a/src/Mod/PartDesign/WizardShaft/Shaft.py +++ b/src/Mod/PartDesign/WizardShaft/Shaft.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- #/****************************************************************************** # * Copyright (c) 2012 Jan Rheinländer * # * * diff --git a/src/Mod/PartDesign/WizardShaft/ShaftDiagram.py b/src/Mod/PartDesign/WizardShaft/ShaftDiagram.py index 3902e93ec0..c5fa7b78a3 100644 --- a/src/Mod/PartDesign/WizardShaft/ShaftDiagram.py +++ b/src/Mod/PartDesign/WizardShaft/ShaftDiagram.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- #/****************************************************************************** # * Copyright (c) 2012 Jan Rheinländer * # * * diff --git a/src/Mod/PartDesign/WizardShaft/ShaftFeature.py b/src/Mod/PartDesign/WizardShaft/ShaftFeature.py index 890c0c1b2c..d2973bdf07 100644 --- a/src/Mod/PartDesign/WizardShaft/ShaftFeature.py +++ b/src/Mod/PartDesign/WizardShaft/ShaftFeature.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- #/****************************************************************************** # * Copyright (c) 2012 Jan Rheinländer * # * * diff --git a/src/Mod/PartDesign/WizardShaft/WizardShaft.py b/src/Mod/PartDesign/WizardShaft/WizardShaft.py index 2bdeca69bf..e384b2ab3b 100644 --- a/src/Mod/PartDesign/WizardShaft/WizardShaft.py +++ b/src/Mod/PartDesign/WizardShaft/WizardShaft.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- #/****************************************************************************** # * Copyright (c) 2012 Jan Rheinländer * # * * diff --git a/src/Mod/PartDesign/WizardShaft/WizardShaftTable.py b/src/Mod/PartDesign/WizardShaft/WizardShaftTable.py index 67916e5244..3c682b24dc 100644 --- a/src/Mod/PartDesign/WizardShaft/WizardShaftTable.py +++ b/src/Mod/PartDesign/WizardShaft/WizardShaftTable.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- #/****************************************************************************** # * Copyright (c) 2012 Jan Rheinländer * # * * diff --git a/src/Mod/PartDesign/WizardShaft/__init__.py b/src/Mod/PartDesign/WizardShaft/__init__.py index 670cb443f4..d32e9e3c29 100644 --- a/src/Mod/PartDesign/WizardShaft/__init__.py +++ b/src/Mod/PartDesign/WizardShaft/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ Shaft Wizard """ diff --git a/src/Mod/Robot/KukaExporter.py b/src/Mod/Robot/KukaExporter.py index 7a854872e7..cf56b5b3d5 100644 --- a/src/Mod/Robot/KukaExporter.py +++ b/src/Mod/Robot/KukaExporter.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- # Kuka export lib (c) Jürgen Riegel 2009 LGPL 2.1 or higher diff --git a/src/Mod/Spreadsheet/importXLSX.py b/src/Mod/Spreadsheet/importXLSX.py index 2fb7dc4f42..ce3072a5f2 100644 --- a/src/Mod/Spreadsheet/importXLSX.py +++ b/src/Mod/Spreadsheet/importXLSX.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- # *************************************************************************** # * Copyright (c) 2016 Ulrich Brammer * # * * diff --git a/src/Mod/TechDraw/ConversionUtilities/moveViews.py b/src/Mod/TechDraw/ConversionUtilities/moveViews.py index 500b25e057..407bcfa6fe 100644 --- a/src/Mod/TechDraw/ConversionUtilities/moveViews.py +++ b/src/Mod/TechDraw/ConversionUtilities/moveViews.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- # ************************************************************************** # Copyright (c) 2018 WandererFan * # * diff --git a/src/Mod/TechDraw/ConversionUtilities/updateLeaderLines.py b/src/Mod/TechDraw/ConversionUtilities/updateLeaderLines.py index 15dc331051..b940486c14 100644 --- a/src/Mod/TechDraw/ConversionUtilities/updateLeaderLines.py +++ b/src/Mod/TechDraw/ConversionUtilities/updateLeaderLines.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- # *************************************************************************** # * Copyright (c) 2024 Wanderer Fan * # * * diff --git a/src/Mod/TechDraw/TDTest/DLeaderRText.py b/src/Mod/TechDraw/TDTest/DLeaderRText.py index b15cef1ad2..525c290207 100644 --- a/src/Mod/TechDraw/TDTest/DLeaderRText.py +++ b/src/Mod/TechDraw/TDTest/DLeaderRText.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- # test script for TechDraw module # creates a page and a view diff --git a/src/Mod/TechDraw/TDTest/DrawHatchTest.py b/src/Mod/TechDraw/TDTest/DrawHatchTest.py index 3420681aab..722736d5f7 100644 --- a/src/Mod/TechDraw/TDTest/DrawHatchTest.py +++ b/src/Mod/TechDraw/TDTest/DrawHatchTest.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- import FreeCAD diff --git a/src/Mod/TechDraw/TDTest/DrawViewDetailTest.py b/src/Mod/TechDraw/TDTest/DrawViewDetailTest.py index 47eba3f3a1..e8035e73ba 100644 --- a/src/Mod/TechDraw/TDTest/DrawViewDetailTest.py +++ b/src/Mod/TechDraw/TDTest/DrawViewDetailTest.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- # test script for DrawViewDetail # creates a page, a view and a detail view diff --git a/src/Mod/TechDraw/TDTest/DrawViewPartTest.py b/src/Mod/TechDraw/TDTest/DrawViewPartTest.py index 5f29bbc883..df93a6f403 100644 --- a/src/Mod/TechDraw/TDTest/DrawViewPartTest.py +++ b/src/Mod/TechDraw/TDTest/DrawViewPartTest.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- # basic test script for TechDraw module # creates a page and 1 view diff --git a/src/Mod/TechDraw/TDTest/TDPyTest.py b/src/Mod/TechDraw/TDTest/TDPyTest.py index b6524d92ca..251cb2b929 100644 --- a/src/Mod/TechDraw/TDTest/TDPyTest.py +++ b/src/Mod/TechDraw/TDTest/TDPyTest.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- # basic test script for TechDraw Py functions migrated from Drawing diff --git a/src/Mod/TechDraw/moveViews.py b/src/Mod/TechDraw/moveViews.py index 6b6a860df5..81a06c2b57 100644 --- a/src/Mod/TechDraw/moveViews.py +++ b/src/Mod/TechDraw/moveViews.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- # ************************************************************************** # Copyright (c) 2018 WandererFan * # * diff --git a/src/Mod/Test/Metadata.py b/src/Mod/Test/Metadata.py index d94d4e078b..879df99850 100644 --- a/src/Mod/Test/Metadata.py +++ b/src/Mod/Test/Metadata.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # *************************************************************************** # * Copyright (c) 2022 FreeCAD Project Association * # * * diff --git a/src/Mod/Test/TestGui.py b/src/Mod/Test/TestGui.py index 0391e3d3ef..3f4c6482a8 100644 --- a/src/Mod/Test/TestGui.py +++ b/src/Mod/Test/TestGui.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # *************************************************************************** # * Copyright (c) 2001,2002 Juergen Riegel * # * * diff --git a/src/Mod/Test/UnicodeTests.py b/src/Mod/Test/UnicodeTests.py index 47feb80ddd..6076389cf7 100644 --- a/src/Mod/Test/UnicodeTests.py +++ b/src/Mod/Test/UnicodeTests.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # *************************************************************************** # * Copyright (c) 2007 Juergen Riegel * # * * diff --git a/src/Mod/Test/UnitTests.py b/src/Mod/Test/UnitTests.py index b2a22043b5..9ed973f467 100644 --- a/src/Mod/Test/UnitTests.py +++ b/src/Mod/Test/UnitTests.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # *************************************************************************** # * Copyright (c) 2010 Juergen Riegel * # * * diff --git a/src/Mod/Test/Workbench.py b/src/Mod/Test/Workbench.py index 0b71f697b3..0404eaf9c0 100755 --- a/src/Mod/Test/Workbench.py +++ b/src/Mod/Test/Workbench.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # *************************************************************************** # * Copyright (c) 2006 Werner Mayer * # * * diff --git a/src/Mod/Test/testPathArray.py b/src/Mod/Test/testPathArray.py index d99377d3c8..ee6a36ac95 100644 --- a/src/Mod/Test/testPathArray.py +++ b/src/Mod/Test/testPathArray.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- # *************************************************************************** # * Copyright (c) 2013 WandererFan * # * * diff --git a/src/Mod/Test/testPathArraySel.py b/src/Mod/Test/testPathArraySel.py index 91a07b8ae0..6a1084b9af 100644 --- a/src/Mod/Test/testPathArraySel.py +++ b/src/Mod/Test/testPathArraySel.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- # *************************************************************************** # * Copyright (c) 2013 WandererFan * # * * diff --git a/src/Mod/Test/testmakeWireString.py b/src/Mod/Test/testmakeWireString.py index a1f5ab016b..c66a8a1546 100644 --- a/src/Mod/Test/testmakeWireString.py +++ b/src/Mod/Test/testmakeWireString.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- # *************************************************************************** # * Copyright (c) 2013 WandererFan * # * * diff --git a/src/Tools/LicenseChecker.py b/src/Tools/LicenseChecker.py index a46cd7e5a8..1046d01005 100644 --- a/src/Tools/LicenseChecker.py +++ b/src/Tools/LicenseChecker.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2013 Werner Mayer LGPL # # Utility to search for source, header and Python files with a missing license text diff --git a/src/Tools/MakeApp.py b/src/Tools/MakeApp.py index 974c12d9a9..bd13753d87 100644 --- a/src/Tools/MakeApp.py +++ b/src/Tools/MakeApp.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2003 Werner Mayer LGPL # Create a new application module diff --git a/src/Tools/PythonToCPP.py b/src/Tools/PythonToCPP.py index 06774548e7..99a39b7de4 100644 --- a/src/Tools/PythonToCPP.py +++ b/src/Tools/PythonToCPP.py @@ -1,5 +1,4 @@ #!/usr/bin/python -# -*- coding: utf-8 -*- # (c) 2004 Werner Mayer LGPL import os, sys diff --git a/src/Tools/SubWCRev.py b/src/Tools/SubWCRev.py index 7c73a2d321..6345820e95 100644 --- a/src/Tools/SubWCRev.py +++ b/src/Tools/SubWCRev.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2006 Werner Mayer LGPL # # FreeCAD RevInfo script to get the revision information from Subversion, Bazaar, and Git. diff --git a/src/Tools/_TEMPLATEPY_/Init.py b/src/Tools/_TEMPLATEPY_/Init.py index d19124bd88..b637b7b96e 100644 --- a/src/Tools/_TEMPLATEPY_/Init.py +++ b/src/Tools/_TEMPLATEPY_/Init.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # FreeCAD init script of the _TEMPLATEPY_ module # (c) 2001 Juergen Riegel # License LGPL diff --git a/src/Tools/_TEMPLATEPY_/InitGui.py b/src/Tools/_TEMPLATEPY_/InitGui.py index c99dce969e..e9af95ce9e 100644 --- a/src/Tools/_TEMPLATEPY_/InitGui.py +++ b/src/Tools/_TEMPLATEPY_/InitGui.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # _TEMPLATEPY_ gui init module # (c) 2001 Juergen Riegel # License LGPL diff --git a/src/Tools/_TEMPLATEPY_/_TEMPLATEPY_Gui.py b/src/Tools/_TEMPLATEPY_/_TEMPLATEPY_Gui.py index 5aad32873c..3b39eff771 100644 --- a/src/Tools/_TEMPLATEPY_/_TEMPLATEPY_Gui.py +++ b/src/Tools/_TEMPLATEPY_/_TEMPLATEPY_Gui.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # FreeCAD tools of the _TEMPLATEPY_ workbench # (c) 2001 Juergen Riegel # License LGPL diff --git a/src/Tools/bindings/generate.py b/src/Tools/bindings/generate.py index 62c6270ed7..8af261e6b8 100644 --- a/src/Tools/bindings/generate.py +++ b/src/Tools/bindings/generate.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2006 Jürgen Riegel GPL import os diff --git a/src/Tools/bindings/model/generateTools.py b/src/Tools/bindings/model/generateTools.py index bb61ddae36..ecc6150c01 100644 --- a/src/Tools/bindings/model/generateTools.py +++ b/src/Tools/bindings/model/generateTools.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2007 Jürgen Riegel import os diff --git a/src/Tools/bindings/templates/template.py b/src/Tools/bindings/templates/template.py index 5f6b82e11a..020dbda394 100644 --- a/src/Tools/bindings/templates/template.py +++ b/src/Tools/bindings/templates/template.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2006 Juergen Riegel diff --git a/src/Tools/bindings/templates/templateCPPFile.py b/src/Tools/bindings/templates/templateCPPFile.py index 0e0e327f69..c970aadeee 100644 --- a/src/Tools/bindings/templates/templateCPPFile.py +++ b/src/Tools/bindings/templates/templateCPPFile.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2006 Juergen Riegel import template diff --git a/src/Tools/bindings/templates/templateClassPyExport.py b/src/Tools/bindings/templates/templateClassPyExport.py index 6660115b0f..588a11321b 100644 --- a/src/Tools/bindings/templates/templateClassPyExport.py +++ b/src/Tools/bindings/templates/templateClassPyExport.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2006 Juergen Riegel diff --git a/src/Tools/bindings/templates/templateModule.py b/src/Tools/bindings/templates/templateModule.py index 3f8457f56d..a336b92ca9 100644 --- a/src/Tools/bindings/templates/templateModule.py +++ b/src/Tools/bindings/templates/templateModule.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2006 Juergen Riegel from . import template, templateModuleApp diff --git a/src/Tools/bindings/templates/templateModuleApp.py b/src/Tools/bindings/templates/templateModuleApp.py index b73783384a..a906310119 100644 --- a/src/Tools/bindings/templates/templateModuleApp.py +++ b/src/Tools/bindings/templates/templateModuleApp.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2007 Juergen Riegel from . import template, templateModuleAppMain, templateModuleAppFeature diff --git a/src/Tools/bindings/templates/templateModuleAppFeature.py b/src/Tools/bindings/templates/templateModuleAppFeature.py index a115b28868..169e761e22 100644 --- a/src/Tools/bindings/templates/templateModuleAppFeature.py +++ b/src/Tools/bindings/templates/templateModuleAppFeature.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2006 Juergen Riegel from . import template diff --git a/src/Tools/bindings/templates/templateModuleAppMain.py b/src/Tools/bindings/templates/templateModuleAppMain.py index 67d2ffda2a..ff1ae419b7 100644 --- a/src/Tools/bindings/templates/templateModuleAppMain.py +++ b/src/Tools/bindings/templates/templateModuleAppMain.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2006 Juergen Riegel from . import template diff --git a/src/Tools/catfiles.py b/src/Tools/catfiles.py index 9bc318506c..cf6b313935 100644 --- a/src/Tools/catfiles.py +++ b/src/Tools/catfiles.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2018 Werner Mayer LGPL # diff --git a/src/Tools/dir2qrc.py b/src/Tools/dir2qrc.py index 79984c9e46..46c0dc6483 100644 --- a/src/Tools/dir2qrc.py +++ b/src/Tools/dir2qrc.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2007 Juergen Riegel GPL Usage = """dir2qrc - merging all files in a directory in a qrc file diff --git a/src/Tools/doctools.py b/src/Tools/doctools.py index 243cb5b913..99b2c3bfb1 100644 --- a/src/Tools/doctools.py +++ b/src/Tools/doctools.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2010 Werner Mayer LGPL # FreeCAD Python script to work with the FCStd file format. diff --git a/src/Tools/embedded/PySide/ui_mainwindow.py b/src/Tools/embedded/PySide/ui_mainwindow.py index 28560e86cb..1ef8bbcf56 100644 --- a/src/Tools/embedded/PySide/ui_mainwindow.py +++ b/src/Tools/embedded/PySide/ui_mainwindow.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # Form implementation generated from reading ui file 'mainwindow.ui' # # Created: Fri Nov 20 18:03:04 2015 diff --git a/src/Tools/makedist.py b/src/Tools/makedist.py index fc04a66e3d..fc3a6e65d5 100644 --- a/src/Tools/makedist.py +++ b/src/Tools/makedist.py @@ -1,5 +1,4 @@ #! python -# -*- coding: utf-8 -*- # (c) 2006 Werner Mayer LGPL # # Python script to make source tarballs. diff --git a/src/Tools/params_utils.py b/src/Tools/params_utils.py index 7ad4183710..d2c65f8064 100644 --- a/src/Tools/params_utils.py +++ b/src/Tools/params_utils.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # *************************************************************************** # * Copyright (c) 2022 Zheng Lei (realthunder) * # * *