Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#193)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/asottile/pyupgrade: v3.15.0 →
v3.15.2](asottile/pyupgrade@v3.15.0...v3.15.2)
- [github.com/astral-sh/ruff-pre-commit: v0.1.9 →
v0.3.5](astral-sh/ruff-pre-commit@v0.1.9...v0.3.5)
- [github.com/psf/black: 23.12.1 →
24.3.0](psf/black@23.12.1...24.3.0)
- [github.com/pycqa/flake8: 6.1.0 →
7.0.0](PyCQA/flake8@6.1.0...7.0.0)
<!--pre-commit.ci end-->
  • Loading branch information
Guts authored Apr 15, 2024
2 parents 497fde1 + 18dc597 commit a675a82
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,20 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.15.2
hooks:
- id: pyupgrade
args:
- "--py39-plus"

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.9"
rev: "v0.3.5"
hooks:
- id: ruff
args: ["--fix-only", "--target-version=py39"]

- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.3.0
hooks:
- id: black
args: ["--target-version=py39"]
Expand All @@ -54,7 +54,7 @@ repos:
args: ["--profile", "black", "--filter-files"]

- repo: https://github.com/pycqa/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8
args: ["--config=setup.cfg", "--select=E9,F401,F63,F7,F82,D103"]
Expand Down
6 changes: 3 additions & 3 deletions tests/test_utils_proxies.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ def test_proxy_settings(self):
environ.pop("GEOTRIBU_PROXY_HTTP") # clean up

# not valid URL - just to check the case
environ[
"GEOTRIBU_PROXY_HTTP"
] = "socks5://user:motdepasse@proxy.example.com:1182"
environ["GEOTRIBU_PROXY_HTTP"] = (
"socks5://user:motdepasse@proxy.example.com:1182"
)
environ.pop("GEOTRIBU_PROXY_HTTP") # clean up
get_proxy_settings.cache_clear()

Expand Down

0 comments on commit a675a82

Please sign in to comment.