Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#993)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/asottile/pyupgrade: v3.15.0 → v3.15.2](asottile/pyupgrade@v3.15.0...v3.15.2)
- [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)
- [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](pre-commit/mirrors-mypy@v1.8.0...v1.9.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Apr 3, 2024
1 parent 53a605f commit 4a7f4dc
Show file tree
Hide file tree
Showing 3 changed files with 5 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 @@ -17,7 +17,7 @@ repos:
- id: debug-statements
- id: requirements-txt-fixer
- repo: https://github.com/asottile/pyupgrade
rev: 'v3.15.0'
rev: 'v3.15.2'
hooks:
- id: pyupgrade
args:
Expand All @@ -27,11 +27,11 @@ repos:
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: '23.12.1'
rev: '24.3.0'
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: '6.1.0'
rev: '7.0.0'
hooks:
- id: flake8
- repo: https://github.com/PyCQA/pydocstyle
Expand All @@ -46,7 +46,7 @@ repos:
additional_dependencies:
- tomli
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.8.0'
rev: 'v1.9.0'
hooks:
- id: mypy
additional_dependencies:
Expand Down
1 change: 1 addition & 0 deletions signac/h5store.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ class H5Store(MutableMapping):
documentation for more information.
"""

__slots__ = ["_filename", "_file", "_kwargs"]

_thread_lock = RLock()
Expand Down
3 changes: 0 additions & 3 deletions tests/test_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -2502,7 +2502,6 @@ def open_other_h5store(self, **kwargs):


class TestProjectStore(TestProjectStoreBase, test_h5store.TestH5Store):

"""
This test opens multiple instances of H5Store, but
the project data interface opens one instance of H5Store.
Expand All @@ -2514,7 +2513,6 @@ def test_assign_valid_types_within_same_file(self):


class TestProjectStoreOpen(TestProjectStoreBase, test_h5store.TestH5StoreOpen):

"""
This test opens multiple instances of H5Store, but
the project data interface opens one instance of H5Store.
Expand Down Expand Up @@ -2562,7 +2560,6 @@ class TestProjectStoreMultiThreading(
class TestProjectStoreMultiProcessing(
TestProjectStoreBase, test_h5store.TestH5StoreMultiProcessing
):

"""
These tests open multiple instances of H5Store, but
the project data interface opens one instance of H5Store.
Expand Down

0 comments on commit 4a7f4dc

Please sign in to comment.