diff options
author | Jordan Cook <jordan.cook.git@proton.me> | 2022-12-13 16:27:16 -0600 |
---|---|---|
committer | Jordan Cook <jordan.cook.git@proton.me> | 2022-12-13 16:27:49 -0600 |
commit | ef32376a4b1001a316eb87ce9e708630ccd7bfd9 (patch) | |
tree | f7ab6b06f7b0a847f339fe74e10b69e92b1a4902 | |
parent | 01e9ba6d04c85157a6fa089ad5f49450270cf610 (diff) | |
download | requests-cache-ef32376a4b1001a316eb87ce9e708630ccd7bfd9.tar.gz |
Update to flake8 v6
-rw-r--r-- | .pre-commit-config.yaml | 10 | ||||
-rw-r--r-- | HISTORY.md | 4 | ||||
-rw-r--r-- | setup.cfg | 15 |
3 files changed, 17 insertions, 12 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 438183a..6eb48f0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.4.0 hooks: - id: check-toml - id: check-yaml @@ -9,20 +9,20 @@ repos: - id: mixed-line-ending - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 22.6.0 + rev: 22.10.0 hooks: - id: black - repo: https://github.com/timothycrosley/isort rev: 5.10.1 hooks: - id: isort - - repo: https://gitlab.com/pycqa/flake8 - rev: 3.9.2 + - repo: https://github.com/pycqa/flake8 + rev: 6.0.0 hooks: - id: flake8 additional_dependencies: [flake8-comprehensions] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.971 + rev: v0.982 hooks: - id: mypy files: requests_cache @@ -142,7 +142,7 @@ If you encounter a problem not listed here after updating to 1.0, please create * Internal utility module changes: * The `cache_control` module (added in `0.7`) has been split up into multiple modules in a new `policy` subpackage -## 0.9.7 (2022-10-26) +### 0.9.7 (2022-10-26) Backport compatibility fixes from 1.0: * **PyInstaller:** Fix potential `AttributeError` due to undetected imports when requests-cache is bundled in a PyInstaller package * **requests-oauthlib:** Add support for header values as bytes for compatibility with OAuth1 features @@ -158,7 +158,7 @@ Add the following for forwards-compatibility with 1.0: * `BaseCache.filter()` * `CachedSession.settings` -## 0.9.6 (2022-08-24) +### 0.9.6 (2022-08-24) Backport fixes from 1.0: * Remove potentially problematic row count from `BaseCache.__str__()` * Remove upper version constraints for all non-dev dependencies @@ -4,8 +4,13 @@ select = E,F,W,C4,C90 exclude = __pycache__,.tox,.venv,build,dist # Defer these rules to black: ignore = - E203 # whitespace before ':' - E225 # missing whitespace around operator - E501 # line too long - W503 # line break before binary operator - W504 # line break after binary operator + # whitespace before ':' + E203 + # missing whitespace around operator + E225 + # line too long + E501 + # line break before binary operator + W503 + # line break after binary operator + W504 |