diff options
author | aa-turner <aa-turner@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2023-03-25 17:54:40 +0000 |
---|---|---|
committer | aa-turner <aa-turner@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2023-03-25 17:54:40 +0000 |
commit | a08d569fe110a6ff6f89f831c9f42f950c0df11d (patch) | |
tree | 2aa040cd6dca34d3b0616b41cc29fe645708716a /.pre-commit-config.yaml | |
parent | 0cfafb31e894b5d8ba2f91306a6151aba615dda3 (diff) | |
download | docutils-a08d569fe110a6ff6f89f831c9f42f950c0df11d.tar.gz |
Update Flake8 version and resolve lint warnings
Flake8 6.0.0 introduces a stricter format for parsing ``.flake8``
files, which does not allow comments on the same line as the error
code in ``ignore`` sections. For now, update to the last version
before 6.0.0.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9331 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a748e8c2b..761abf28e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,6 +12,6 @@ repos: exclude: ^sandbox|(.svg)|docutils/test/data/utf-16-le-sig.txt$ - repo: https://github.com/pycqa/flake8 - rev: 3.8.4 # pick a git hash / tag to point to + rev: 5.0.4 # Docutils' ``.flake8`` configuration files do not work with Flake8 >=6 hooks: - id: flake8 |