[SCM] Samba Shared Repository - branch master updated

Noel Power npower at samba.org
Fri Nov 19 13:26:01 UTC 2021


The branch, master has been updated
       via  1926335839a third_party/update: forget pep8
       via  2c3596e7214 pytest/source_chars: forget thirdparty/pep8 test file
       via  e94e649bbb4 third_party: remove pep8
      from  cdc0268c198 cmdline: Make -P work in clustered mode

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 1926335839a83795a8594fe0b3a2a298bdf366ac
Author: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>
Date:   Fri Nov 19 15:33:09 2021 +1300

    third_party/update: forget pep8
    
    Signed-off-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>
    Reviewed-by: Noel Power <npower at samba.org>
    
    Autobuild-User(master): Noel Power <npower at samba.org>
    Autobuild-Date(master): Fri Nov 19 13:25:16 UTC 2021 on sn-devel-184

commit 2c3596e72144fb1b356de860ccfef1ea1f39fd9d
Author: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>
Date:   Fri Nov 19 15:28:48 2021 +1300

    pytest/source_chars: forget thirdparty/pep8 test file
    
    Signed-off-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>
    Reviewed-by: Noel Power <npower at samba.org>

commit e94e649bbb474920c681c644e9a53e5f09147982
Author: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>
Date:   Fri Nov 19 15:18:23 2021 +1300

    third_party: remove pep8
    
    This was a *partial* copy of the python linting tool that has been
    known as 'pycodestyle' since 2017. I say partial copy, because it does
    not seem to contain the pep8 binary itself, just some documentation
    and tests. It has not been changed since it was added in 2015.
    
    It is GOOD that people run python linters, but this doesn't help them
    in the slightest.
    
    Signed-off-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>
    Reviewed-by: Noel Power <npower at samba.org>

-----------------------------------------------------------------------

Summary of changes:
 python/samba/tests/source_chars.py       |   2 -
 third_party/pep8/.gitignore              |   7 -
 third_party/pep8/.travis.yml             |  25 --
 third_party/pep8/CHANGES.txt             | 651 -------------------------------
 third_party/pep8/LICENSE                 |  24 --
 third_party/pep8/MANIFEST.in             |   9 -
 third_party/pep8/Makefile                |  13 -
 third_party/pep8/README.rst              |  91 -----
 third_party/pep8/docs/Makefile           | 153 --------
 third_party/pep8/docs/advanced.rst       |  77 ----
 third_party/pep8/docs/api.rst            |  88 -----
 third_party/pep8/docs/conf.py            | 251 ------------
 third_party/pep8/docs/developer.rst      |  96 -----
 third_party/pep8/docs/index.rst          |  69 ----
 third_party/pep8/docs/intro.rst          | 435 ---------------------
 third_party/pep8/docs/make.bat           | 190 ---------
 third_party/pep8/setup.cfg               |   7 -
 third_party/pep8/setup.py                |  56 ---
 third_party/pep8/testsuite/E10.py        |  41 --
 third_party/pep8/testsuite/E11.py        |  36 --
 third_party/pep8/testsuite/E12.py        | 376 ------------------
 third_party/pep8/testsuite/E12not.py     | 644 ------------------------------
 third_party/pep8/testsuite/E20.py        |  55 ---
 third_party/pep8/testsuite/E21.py        |  14 -
 third_party/pep8/testsuite/E22.py        | 157 --------
 third_party/pep8/testsuite/E23.py        |  15 -
 third_party/pep8/testsuite/E24.py        |  13 -
 third_party/pep8/testsuite/E25.py        |  36 --
 third_party/pep8/testsuite/E26.py        |  59 ---
 third_party/pep8/testsuite/E27.py        |  30 --
 third_party/pep8/testsuite/E30.py        |  90 -----
 third_party/pep8/testsuite/E30not.py     | 134 -------
 third_party/pep8/testsuite/E40.py        |  38 --
 third_party/pep8/testsuite/E50.py        | 118 ------
 third_party/pep8/testsuite/E70.py        |  20 -
 third_party/pep8/testsuite/E71.py        |  73 ----
 third_party/pep8/testsuite/E72.py        |  51 ---
 third_party/pep8/testsuite/E73.py        |  18 -
 third_party/pep8/testsuite/E90.py        |  26 --
 third_party/pep8/testsuite/W19.py        | 145 -------
 third_party/pep8/testsuite/W29.py        |  21 -
 third_party/pep8/testsuite/W39.py        |  18 -
 third_party/pep8/testsuite/W60.py        |  15 -
 third_party/pep8/testsuite/__init__.py   |   0
 third_party/pep8/testsuite/latin-1.py    |   6 -
 third_party/pep8/testsuite/noqa.py       |  15 -
 third_party/pep8/testsuite/python3.py    |   6 -
 third_party/pep8/testsuite/support.py    | 197 ----------
 third_party/pep8/testsuite/test_all.py   |  63 ---
 third_party/pep8/testsuite/test_api.py   | 389 ------------------
 third_party/pep8/testsuite/test_shell.py | 189 ---------
 third_party/pep8/testsuite/test_util.py  |  23 --
 third_party/pep8/testsuite/utf-8-bom.py  |   6 -
 third_party/pep8/testsuite/utf-8.py      |  52 ---
 third_party/pep8/tox.ini                 |  15 -
 third_party/update.sh                    |   5 -
 56 files changed, 5453 deletions(-)
 delete mode 100644 third_party/pep8/.gitignore
 delete mode 100644 third_party/pep8/.travis.yml
 delete mode 100644 third_party/pep8/CHANGES.txt
 delete mode 100644 third_party/pep8/LICENSE
 delete mode 100644 third_party/pep8/MANIFEST.in
 delete mode 100644 third_party/pep8/Makefile
 delete mode 100644 third_party/pep8/README.rst
 delete mode 100644 third_party/pep8/docs/Makefile
 delete mode 100644 third_party/pep8/docs/advanced.rst
 delete mode 100644 third_party/pep8/docs/api.rst
 delete mode 100644 third_party/pep8/docs/conf.py
 delete mode 100644 third_party/pep8/docs/developer.rst
 delete mode 100644 third_party/pep8/docs/index.rst
 delete mode 100644 third_party/pep8/docs/intro.rst
 delete mode 100644 third_party/pep8/docs/make.bat
 delete mode 100644 third_party/pep8/setup.cfg
 delete mode 100644 third_party/pep8/setup.py
 delete mode 100644 third_party/pep8/testsuite/E10.py
 delete mode 100644 third_party/pep8/testsuite/E11.py
 delete mode 100644 third_party/pep8/testsuite/E12.py
 delete mode 100644 third_party/pep8/testsuite/E12not.py
 delete mode 100644 third_party/pep8/testsuite/E20.py
 delete mode 100644 third_party/pep8/testsuite/E21.py
 delete mode 100644 third_party/pep8/testsuite/E22.py
 delete mode 100644 third_party/pep8/testsuite/E23.py
 delete mode 100644 third_party/pep8/testsuite/E24.py
 delete mode 100644 third_party/pep8/testsuite/E25.py
 delete mode 100644 third_party/pep8/testsuite/E26.py
 delete mode 100644 third_party/pep8/testsuite/E27.py
 delete mode 100644 third_party/pep8/testsuite/E30.py
 delete mode 100644 third_party/pep8/testsuite/E30not.py
 delete mode 100644 third_party/pep8/testsuite/E40.py
 delete mode 100644 third_party/pep8/testsuite/E50.py
 delete mode 100644 third_party/pep8/testsuite/E70.py
 delete mode 100644 third_party/pep8/testsuite/E71.py
 delete mode 100644 third_party/pep8/testsuite/E72.py
 delete mode 100644 third_party/pep8/testsuite/E73.py
 delete mode 100644 third_party/pep8/testsuite/E90.py
 delete mode 100644 third_party/pep8/testsuite/W19.py
 delete mode 100644 third_party/pep8/testsuite/W29.py
 delete mode 100644 third_party/pep8/testsuite/W39.py
 delete mode 100644 third_party/pep8/testsuite/W60.py
 delete mode 100644 third_party/pep8/testsuite/__init__.py
 delete mode 100644 third_party/pep8/testsuite/latin-1.py
 delete mode 100644 third_party/pep8/testsuite/noqa.py
 delete mode 100644 third_party/pep8/testsuite/python3.py
 delete mode 100644 third_party/pep8/testsuite/support.py
 delete mode 100644 third_party/pep8/testsuite/test_all.py
 delete mode 100644 third_party/pep8/testsuite/test_api.py
 delete mode 100644 third_party/pep8/testsuite/test_shell.py
 delete mode 100644 third_party/pep8/testsuite/test_util.py
 delete mode 100644 third_party/pep8/testsuite/utf-8-bom.py
 delete mode 100644 third_party/pep8/testsuite/utf-8.py
 delete mode 100644 third_party/pep8/tox.ini


Changeset truncated at 500 lines:

diff --git a/python/samba/tests/source_chars.py b/python/samba/tests/source_chars.py
index f60dc5899af..db7f131d815 100644
--- a/python/samba/tests/source_chars.py
+++ b/python/samba/tests/source_chars.py
@@ -62,7 +62,6 @@ IGNORED_FILES = {
     'examples/tridge/smb.conf',
     'source3/selftest/ktest-krb5_ccache-2',
     'source3/selftest/ktest-krb5_ccache-3',
-    'third_party/pep8/testsuite/latin-1.py',
     'testdata/source-chars-bad.c',
 }
 
@@ -135,7 +134,6 @@ def is_latin1_file(name):
     for pattern in (
             r'^source4/setup/ad-schema/\w+.ldf$',
             r'^source4/setup/display-specifiers/D[\w-]+.txt$',
-            r'^third_party/pep8/testsuite/latin-1.py$',
             r'^source4/heimdal/HEIMDAL-LICENCE.txt$',
             r'^source4/heimdal/lib/asn1/asn1-template.h$',
             r'^source4/heimdal/lib/asn1/gen_template.c$',
diff --git a/third_party/pep8/.gitignore b/third_party/pep8/.gitignore
deleted file mode 100644
index 7eac23f20b5..00000000000
--- a/third_party/pep8/.gitignore
+++ /dev/null
@@ -1,7 +0,0 @@
-*.egg
-*.egg-info
-*.pyc
-.tox
-dist
-docs/_build
-build/
diff --git a/third_party/pep8/.travis.yml b/third_party/pep8/.travis.yml
deleted file mode 100644
index b1883254efb..00000000000
--- a/third_party/pep8/.travis.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-language: python
-python:
-  - 2.6
-  - 2.7
-  - 3.2
-  - 3.3
-  - 3.4
-  - pypy
-  - pypy3
-install:
-  - pip install -e .
-  - pip list
-script:
-  - python pep8.py --testsuite testsuite
-  - python pep8.py --statistics pep8.py
-  - python pep8.py --doctest
-  - python setup.py test
-matrix:
-  allow_failures:
-    - python: pypy
-    - python: pypy3
-
-notifications:
-  email:
-    - IanLee1521 at gmail.com
diff --git a/third_party/pep8/CHANGES.txt b/third_party/pep8/CHANGES.txt
deleted file mode 100644
index 91a20950606..00000000000
--- a/third_party/pep8/CHANGES.txt
+++ /dev/null
@@ -1,651 +0,0 @@
-Changelog
-=========
-
-
-1.x (unreleased)
-----------------
-
-News:
-
-* Ian Lee <ianlee1521 at gmail.com> joined the project as a maintainer.
-
-Changes:
-
-* Report E731 for lambda assignment. (Issue #277)
-
-* Report E704 for one-liner def instead of E701.
-  Do not report this error in the default configuration. (Issue #277)
-
-* Replace codes E111, E112 and E113 with codes E114, E115 and E116
-  for bad indentation of comments. (Issue #274)
-
-* Report E266 instead of E265 when the block comment starts with
-  multiple ``#``. (Issue #270)
-
-* Report E402 for import statements not at the top of the file. (Issue #264)
-
-* Do not enforce whitespaces around ``**`` operator. (Issue #292)
-
-* Strip whitespace from around paths during normalization. (Issue #339 / #343)
-
-* Update ``--format`` documentation. (Issue #198 / Pull Request #310)
-
-* Add ``.tox/`` to default excludes. (Issue #335)
-
-* Do not report E121 or E126 in the default configuration. (Issues #256 / #316)
-
-* Allow spaces around the equals sign in an annotated function. (Issue #357)
-
-Bug fixes:
-
-* Don't crash if Checker.build_tokens_line() returns None. (Issue #306)
-
-* Don't crash if os.path.expanduser() throws an ImportError. (Issue #297)
-
-* Missing space around keyword parameter equal not always reported, E251.
-  (Issue #323)
-
-* Fix false positive E711/E712/E713. (Issues #330 and #336)
-
-* Do not skip physical checks if the newline is escaped. (Issue #319)
-
-
-1.5.7 (2014-05-29)
-------------------
-
-Bug fixes:
-
-* Skip the traceback on "Broken pipe" signal. (Issue #275)
-
-* Do not exit when an option in ``setup.cfg`` or ``tox.ini``
-  is not recognized.
-
-* Check the last line even if it does not end with a newline. (Issue #286)
-
-* Always open files in universal newlines mode in Python 2. (Issue #288)
-
-
-1.5.6 (2014-04-14)
-------------------
-
-Bug fixes:
-
-* Check the last line even if it has no end-of-line. (Issue #273)
-
-
-1.5.5 (2014-04-10)
-------------------
-
-Bug fixes:
-
-* Fix regression with E22 checks and inline comments. (Issue #271)
-
-
-1.5.4 (2014-04-07)
-------------------
-
-Bug fixes:
-
-* Fix negative offset with E303 before a multi-line docstring.
-  (Issue #269)
-
-
-1.5.3 (2014-04-04)
-------------------
-
-Bug fixes:
-
-* Fix wrong offset computation when error is on the last char
-  of a physical line. (Issue #268)
-
-
-1.5.2 (2014-04-04)
-------------------
-
-Changes:
-
-* Distribute a universal wheel file.
-
-Bug fixes:
-
-* Report correct line number for E303 with comments. (Issue #60)
-
-* Do not allow newline after parameter equal. (Issue #252)
-
-* Fix line number reported for multi-line strings. (Issue #220)
-
-* Fix false positive E121/E126 with multi-line strings. (Issue #265)
-
-* Fix E501 not detected in comments with Python 2.5.
-
-* Fix caret position with ``--show-source`` when line contains tabs.
-
-
-1.5.1 (2014-03-27)
-------------------
-
-Bug fixes:
-
-* Fix a crash with E125 on multi-line strings. (Issue #263)
-
-
-1.5 (2014-03-26)
-----------------
-
-Changes:
-
-* Report E129 instead of E125 for visually indented line with same
-  indent as next logical line.  (Issue #126)
-
-* Report E265 for space before block comment. (Issue #190)
-
-* Report E713 and E714 when operators ``not in`` and ``is not`` are
-  recommended. (Issue #236)
-
-* Allow long lines in multiline strings and comments if they cannot
-  be wrapped. (Issue #224).
-
-* Optionally disable physical line checks inside multiline strings,
-  using ``# noqa``. (Issue #242)
-
-* Change text for E121 to report "continuation line under-indented
-  for hanging indent" instead of indentation not being a
-  multiple of 4.
-
-* Report E131 instead of E121 / E126 if the hanging indent is not
-  consistent within the same continuation block.  It helps when
-  error E121 or E126 is in the ``ignore`` list.
-
-* Report E126 instead of E121 when the continuation line is hanging
-  with extra indentation, even if indentation is not a multiple of 4.
-
-Bug fixes:
-
-* Allow the checkers to report errors on empty files. (Issue #240)
-
-* Fix ignoring too many checks when ``--select`` is used with codes
-  declared in a flake8 extension. (Issue #216)
-
-* Fix regression with multiple brackets. (Issue #214)
-
-* Fix ``StyleGuide`` to parse the local configuration if the
-  keyword argument ``paths`` is specified. (Issue #246)
-
-* Fix a false positive E124 for hanging indent. (Issue #254)
-
-* Fix a false positive E126 with embedded colon. (Issue #144)
-
-* Fix a false positive E126 when indenting with tabs. (Issue #204)
-
-* Fix behaviour when ``exclude`` is in the configuration file and
-  the current directory is not the project directory. (Issue #247)
-
-* The logical checks can return ``None`` instead of an empty iterator.
-  (Issue #250)
-
-* Do not report multiple E101 if only the first indentation starts
-  with a tab. (Issue #237)
-
-* Fix a rare false positive W602. (Issue #34)
-
-
-1.4.6 (2013-07-02)
-------------------
-
-Changes:
-
-* Honor ``# noqa`` for errors E711 and E712. (Issue #180)
-
-* When both a ``tox.ini`` and a ``setup.cfg`` are present in the project
-  directory, merge their contents.  The ``tox.ini`` file takes
-  precedence (same as before). (Issue #182)
-
-* Give priority to ``--select`` over ``--ignore``. (Issue #188)
-
-* Compare full path when excluding a file. (Issue #186)
-
-* New option ``--hang-closing`` to switch to the alternative style of
-  closing bracket indentation for hanging indent.  Add error E133 for
-  closing bracket which is missing indentation. (Issue #103)
-
-* Accept both styles of closing bracket indentation for hanging indent.
-  Do not report error E123 in the default configuration. (Issue #103)
-
-Bug fixes:
-
-* Do not crash when running AST checks and the document contains null bytes.
-  (Issue #184)
-
-* Correctly report other E12 errors when E123 is ignored. (Issue #103)
-
-* Fix false positive E261/E262 when the file contains a BOM. (Issue #193)
-
-* Fix E701, E702 and E703 not detected sometimes. (Issue #196)
-
-* Fix E122 not detected in some cases. (Issue #201 and #208)
-
-* Fix false positive E121 with multiple brackets. (Issue #203)
-
-
-1.4.5 (2013-03-06)
-------------------
-
-* When no path is specified, do not try to read from stdin.  The feature
-  was added in 1.4.3, but it is not supported on Windows.  Use ``-``
-  filename argument to read from stdin.  This usage is supported
-  since 1.3.4. (Issue #170)
-
-* Do not require ``setuptools`` in setup.py.  It works around an issue
-  with ``pip`` and Python 3. (Issue #172)
-
-* Add ``__pycache__`` to the ignore list.
-
-* Change misleading message for E251. (Issue #171)
-
-* Do not report false E302 when the source file has a coding cookie or a
-  comment on the first line. (Issue #174)
-
-* Reorganize the tests and add tests for the API and for the command line
-  usage and options. (Issues #161 and #162)
-
-* Ignore all checks which are not explicitly selected when ``select`` is
-  passed to the ``StyleGuide`` constructor.
-
-
-1.4.4 (2013-02-24)
-------------------
-
-* Report E227 or E228 instead of E225 for whitespace around bitwise, shift
-  or modulo operators. (Issue #166)
-
-* Change the message for E226 to make clear that it is about arithmetic
-  operators.
-
-* Fix a false positive E128 for continuation line indentation with tabs.
-
-* Fix regression with the ``--diff`` option. (Issue #169)
-
-* Fix the ``TestReport`` class to print the unexpected warnings and
-  errors.
-
-
-1.4.3 (2013-02-22)
-------------------
-
-* Hide the ``--doctest`` and ``--testsuite`` options when installed.
-
-* Fix crash with AST checkers when the syntax is invalid. (Issue #160)
-
-* Read from standard input if no path is specified.
-
-* Initiate a graceful shutdown on ``Control+C``.
-
-* Allow to change the ``checker_class`` for the ``StyleGuide``.
-
-
-1.4.2 (2013-02-10)
-------------------
-
-* Support AST checkers provided by third-party applications.
-
-* Register new checkers with ``register_check(func_or_cls, codes)``.
-
-* Allow to construct a ``StyleGuide`` with a custom parser.
-
-* Accept visual indentation without parenthesis after the ``if``
-  statement. (Issue #151)
-
-* Fix UnboundLocalError when using ``# noqa`` with continued lines.
-  (Issue #158)
-
-* Re-order the lines for the ``StandardReport``.
-
-* Expand tabs when checking E12 continuation lines. (Issue #155)
-
-* Refactor the testing class ``TestReport`` and the specific test
-  functions into a separate test module.
-
-
-1.4.1 (2013-01-18)
-------------------
-
-* Allow sphinx.ext.autodoc syntax for comments. (Issue #110)
-
-* Report E703 instead of E702 for the trailing semicolon. (Issue #117)
-
-* Honor ``# noqa`` in addition to ``# nopep8``. (Issue #149)
-
-* Expose the ``OptionParser`` factory for better extensibility.
-
-
-1.4 (2012-12-22)
-----------------
-
-* Report E226 instead of E225 for optional whitespace around common
-  operators (``*``, ``**``, ``/``, ``+`` and ``-``).  This new error
-  code is ignored in the default configuration because PEP 8 recommends
-  to "use your own judgement". (Issue #96)
-
-* Lines with a ``# nopep8`` at the end will not issue errors on line
-  length E501 or continuation line indentation E12*. (Issue #27)
-
-* Fix AssertionError when the source file contains an invalid line
-  ending ``"\r\r\n"``. (Issue #119)
-
-* Read the ``[pep8]`` section of ``tox.ini`` or ``setup.cfg`` if present.
-  (Issue #93 and #141)
-
-* Add the Sphinx-based documentation, and publish it
-  on http://pep8.readthedocs.org/. (Issue #105)
-
-
-1.3.4 (2012-12-18)
-------------------
-
-* Fix false positive E124 and E128 with comments. (Issue #100)
-
-* Fix error on stdin when running with bpython. (Issue #101)
-
-* Fix false positive E401. (Issue #104)
-
-* Report E231 for nested dictionary in list. (Issue #142)
-
-* Catch E271 at the beginning of the line. (Issue #133)
-
-* Fix false positive E126 for multi-line comments. (Issue #138)
-
-* Fix false positive E221 when operator is preceded by a comma. (Issue #135)
-
-* Fix ``--diff`` failing on one-line hunk. (Issue #137)
-
-* Fix the ``--exclude`` switch for directory paths. (Issue #111)
-
-* Use ``-`` filename to read from standard input. (Issue #128)
-
-
-1.3.3 (2012-06-27)
-------------------
-
-* Fix regression with continuation line checker. (Issue #98)
-
-
-1.3.2 (2012-06-26)
-------------------
-
-* Revert to the previous behaviour for ``--show-pep8``:
-  do not imply ``--first``. (Issue #89)
-
-* Add E902 for IO errors. (Issue #87)
-
-* Fix false positive for E121, and missed E124. (Issue #92)
-
-* Set a sensible default path for config file on Windows. (Issue #95)
-
-* Allow ``verbose`` in the configuration file. (Issue #91)
-
-* Show the enforced ``max-line-length`` in the error message. (Issue #86)
-
-
-1.3.1 (2012-06-18)
-------------------
-
-* Explain which configuration options are expected.  Accept and recommend
-  the options names with hyphen instead of underscore. (Issue #82)
-
-* Do not read the user configuration when used as a module
-  (except if ``config_file=True`` is passed to the ``StyleGuide`` constructor).
-
-* Fix wrong or missing cases for the E12 series.
-
-* Fix cases where E122 was missed. (Issue #81)
-
-
-1.3 (2012-06-15)
-----------------
-
-.. warning::
-   The internal API is backwards incompatible.
-
-* Remove global configuration and refactor the library around
-  a ``StyleGuide`` class; add the ability to configure various
-  reporters. (Issue #35 and #66)
-
-* Read user configuration from ``~/.config/pep8``
-  and local configuration from ``./.pep8``. (Issue #22)
-
-* Fix E502 for backslash embedded in multi-line string. (Issue #68)
-
-* Fix E225 for Python 3 iterable unpacking (PEP 3132). (Issue #72)
-
-* Enable the new checkers from the E12 series in the default
-  configuration.
-
-* Suggest less error-prone alternatives for E712 errors.
-
-* Rewrite checkers to run faster (E22, E251, E27).
-
-* Fixed a crash when parsed code is invalid (too many
-  closing brackets).
-
-* Fix E127 and E128 for continuation line indentation. (Issue #74)


-- 
Samba Shared Repository



More information about the samba-cvs mailing list