Skip to content

Commit

Permalink
Merge branch 'tickets/DM-37510' of github.com:lsst/resources into tic…
Browse files Browse the repository at this point in the history
…kets/DM-37510
  • Loading branch information
airnandez committed Feb 2, 2023
2 parents a991948 + 6fc34ea commit 24fc48e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-toml
- repo: https://github.com/psf/black
rev: 22.3.0
rev: 23.1.0
hooks:
- id: black
# It is recommended to specify the latest version of Python
# supported by your project here, or alternatively use
# pre-commit's default_language_version, see
# https://pre-commit.com/#top_level-default_language_version
language_version: python3.8
language_version: python3.10
- repo: https://github.com/pycqa/isort
rev: 5.10.1
rev: 5.12.0
hooks:
- id: isort
name: isort (python)
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
rev: 6.0.0
hooks:
- id: flake8
2 changes: 1 addition & 1 deletion doc/changes/DM-36799.misc.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Added allow_redirects=True to HEAD requests since the default is False. This
is needed when interacting with WEBDAV storage systems which have a frontend
is needed when interacting with WEBDAV storage systems which have a frontend
redirecting to backend servers.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ version = { attr = "lsst_versions.get_lsst_version" }

[tool.black]
line-length = 110
target-version = ["py38"]
target-version = ["py310"]

[tool.isort]
profile = "black"
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/resources/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ def test_open(self) -> None:
_check_open(self, tmp, mode_suffixes=("t",), encoding="utf-16", prefer_file_temporary=True)
with ResourcePath.temporary_uri(prefix=tmpdir, suffix=".dat") as tmp:
_check_open(self, tmp, mode_suffixes=("b",))
_check_open(self, tmp, mode_suffixes=("b"), prefer_file_temporary=True)
_check_open(self, tmp, mode_suffixes=("b",), prefer_file_temporary=True)

with self.assertRaises(IsADirectoryError):
with self.root_uri.open():
Expand Down

0 comments on commit 24fc48e

Please sign in to comment.