lists.arthurdejong.org
RSS feed

python-stdnum branch master updated. 2.2-3-g72ef1a6

[Date Prev][Date Next] [Thread Prev][Thread Next]

python-stdnum branch master updated. 2.2-3-g72ef1a6



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-stdnum".

The branch, master has been updated
       via  72ef1a6befd0ea2ec19df3f3e356a388dc25681e (commit)
      from  b99cfad6677df84697787abec12cea4ccfad04e3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://arthurdejong.org/git/python-stdnum/commit/?id=72ef1a6befd0ea2ec19df3f3e356a388dc25681e

commit 72ef1a6befd0ea2ec19df3f3e356a388dc25681e
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Sun Jul 5 14:25:00 2026 +0200

    Update to newer flake8
    
    Sadly the version of flake8 that supported a readable configuration no
    longer works on Python 3.14.

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 39906eb..4a44470 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -36,7 +36,7 @@ jobs:
       - name: Set up Python
         uses: actions/setup-python@v4
         with:
-          python-version: 3.13
+          python-version: 3.14
       - name: Install dependencies
         run: python -m pip install --upgrade pip tox
       - name: Run tox ${{ matrix.tox_job }}
diff --git a/setup.cfg b/setup.cfg
index 2bff8c7..2d227a3 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -24,14 +24,22 @@ all_files  = 1
 
 [flake8]
 ignore =
-  D205,D209,D400  # our docstrings are multi-line blobs
-  D302  # We don't care about Unicode docstrings
-  E731  # we occasionally use lambda
-  F403,F405  # we use * imports
-  Q001  # we use '''...''' multi-line strings
-  Q003  # don't force "" strings to avoid escaping quotes
-  T001,T201  # we use print statements in the update scripts
-  W504  # we put the binary operator on the preceding line
+  # our docstrings are multi-line blobs:
+  D205,D209,D400
+  # We don't care about Unicode docstrings:
+  D302
+  # we occasionally use lambda:
+  E731
+  # we use * imports:
+  F403,F405
+  # we use '''...''' multi-line strings:
+  Q001
+  # don't force "" strings to avoid escaping quotes:
+  Q003
+  # we use print statements in the update scripts:
+  T001,T201
+  # we put the binary operator on the preceding line:
+  W504
 max-complexity = 15
 max-line-length = 120
 extend-exclude =
diff --git a/tox.ini b/tox.ini
index 6d45d9a..fec260d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,7 +11,7 @@ setenv=
 
 [testenv:flake8]
 skip_install = true
-deps = flake8<6.0
+deps = flake8
        flake8-author
        flake8-blind-except
        flake8-bugbear

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

Summary of changes:
 .github/workflows/test.yml |  2 +-
 setup.cfg                  | 24 ++++++++++++++++--------
 tox.ini                    |  2 +-
 3 files changed, 18 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
python-stdnum