Changed some code comments of adapted third party packages. eric7

Thu, 31 Aug 2023 13:59:43 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 31 Aug 2023 13:59:43 +0200
branch
eric7
changeset 10175
57ed3cb66e9a
parent 10173
9c64ac720853
child 10176
5e26785b93b8

Changed some code comments of adapted third party packages.

docs/ThirdParty.md file | annotate | diff | comparison | revisions
src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Async/AsyncVisitor.py file | annotate | diff | comparison | revisions
src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/MiscellaneousChecker.py file | annotate | diff | comparison | revisions
src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/PathLib/PathlibChecker.py file | annotate | diff | comparison | revisions
src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Simplify/SimplifyNodeVisitor.py file | annotate | diff | comparison | revisions
--- a/docs/ThirdParty.md	Wed Aug 30 17:23:53 2023 +0200
+++ b/docs/ThirdParty.md	Thu Aug 31 13:59:43 2023 +0200
@@ -14,3 +14,23 @@
 |              |           |                             |
 | jquery       |   3.6.3   | MIT License (MIT)           |
 | jquery-ui    |  1.13.2   | MIT License (MIT)           |
+
+Some code in eric7 was adapted from these third party packages.
+
+| Name                          |  Version  | License                            |
+|:-----------------------------:|:---------:|:-----------------------------------|
+| flake8-alphabetize            |   0.0.21  | MIT License (MIT No Attribution)   |
+| flake8-annotations            |   3.0.1   | MIT License (MIT)                  |
+| flake8-annotations-complexity |   0.0.7   | MIT License (MIT)                  |
+| flake8-annotations-coverage   |   0.0.6   | MIT License (MIT)                  |
+| flake8-async                  |  22.11.14 | MIT License (MIT)                  |
+| flake8-bugbear                |  23.5.9   | MIT License (MIT)                  |
+| flake8-future-annotations     |   1.1.0   | MIT License (MIT)                  |
+| flake8-local-import           |   1.0.6   | MIT License (MIT)                  |
+| flake8-pep585                 |   0.1.7   | Mozilla Public License Version 2.0 |
+| flake8-pep604                 |   1.1.0   | MIT License (MIT)                  |
+| flake8-simplify               |   0.20.0  | MIT License (MIT)                  |
+| flake8-tidy-imports           |   4.8.0   | MIT License (MIT)                  |
+| flake8-unused-arguments       |   0.0.13  | MIT License (MIT)                  |
+| flake8-unused-globals         |   0.1.9   | MIT License (MIT)                  |
+| flake8-use-pathlib            |   0.3.0   | MIT License (MIT)                  |
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Async/AsyncVisitor.py	Wed Aug 30 17:23:53 2023 +0200
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Async/AsyncVisitor.py	Thu Aug 31 13:59:43 2023 +0200
@@ -18,9 +18,11 @@
     # Python < 3.9
     from ast_unparse import unparse
 
-#
-# The visitor is adapted from flake8-async v22.11.14
-#
+#######################################################################
+## AsyncVisitor
+##
+## adapted from: flake8-async v22.11.14
+#######################################################################
 
 
 class AsyncVisitor(ast.NodeVisitor):
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/MiscellaneousChecker.py	Wed Aug 30 17:23:53 2023 +0200
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/MiscellaneousChecker.py	Thu Aug 31 13:59:43 2023 +0200
@@ -1612,6 +1612,14 @@
             super().generic_visit(node)
 
 
+#######################################################################
+## BugBearVisitor
+##
+## adapted from: flake8-bugbear v22.12.6
+##
+## Original: Copyright (c) 2016 Łukasz Langa
+#######################################################################
+
 BugBearContext = namedtuple("BugBearContext", ["node", "stack"])
 
 
@@ -1620,11 +1628,6 @@
     Class implementing a node visitor to check for various topics.
     """
 
-    #
-    # This class was implemented along flake8-bugbear (v 22.12.6).
-    # Original: Copyright (c) 2016 Łukasz Langa
-    #
-
     CONTEXTFUL_NODES = (
         ast.Module,
         ast.ClassDef,
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/PathLib/PathlibChecker.py	Wed Aug 30 17:23:53 2023 +0200
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/PathLib/PathlibChecker.py	Thu Aug 31 13:59:43 2023 +0200
@@ -9,8 +9,7 @@
 """
 
 #####################################################################################
-## This module was implemented along the 'flake8-use-pathlib' flake8               ##
-## extension (v 0.3.0).                                                            ##
+## adapted from: flake8-use-pathlib v0.3.0                                         ##
 ##                                                                                 ##
 ## Original: Copyright (c) 2021 Rodolphe Pelloux-Prayer                            ##
 ##                                                                                 ##
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Simplify/SimplifyNodeVisitor.py	Wed Aug 30 17:23:53 2023 +0200
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Simplify/SimplifyNodeVisitor.py	Thu Aug 31 13:59:43 2023 +0200
@@ -22,7 +22,7 @@
 import AstUtilities
 
 ###############################################################################
-## The following code is derived from the flake8-simplify package (v0.20.0).
+## adapted from: flake8-simplify v0.20.0
 ##
 ## Original License:
 ##

eric ide

mercurial