Skip to content

Commit 5368524

Browse files
committed
Updated files after running validation
1 parent 3601dd3 commit 5368524

File tree

6 files changed

+4
-13
lines changed

6 files changed

+4
-13
lines changed

.github/workflows/validate.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,10 @@ jobs:
2525
- uses: actions/setup-python@v4
2626
with:
2727
python-version: ${{ matrix.python-version }}
28-
# - name: Run image
29-
# uses: abatilo/actions-poetry@v2
30-
# with:
31-
# poetry-version: ${{ matrix.poetry-version }}
3228
- name: Install Poetry
3329
shell: bash
3430
run: |
35-
pip install poetry==${{ matrix.poetry-version }}
31+
pip install poetry==${{ matrix.poetry-version }}m
3632
- name: Install Dependencies
3733
run: python -m poetry install
3834
- name: Configure Validation

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ repos:
2121
- id: flake8
2222

2323
- repo: https://github.com/psf/black
24-
rev: 22.10.0
24+
rev: 23.1.0
2525
hooks:
2626
- id: black
2727

2828
- repo: https://github.com/pre-commit/mirrors-mypy
29-
rev: v0.991
29+
rev: v1.1.1
3030
hooks:
3131
- id: mypy
3232

3333
- repo: https://github.com/PyCQA/isort
34-
rev: 5.10.1
34+
rev: 5.12.0
3535
hooks:
3636
- id: isort

coherence/client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,6 @@ def on_truncated(name: str) -> None:
736736

737737

738738
class TlsOptions:
739-
740739
ENV_CA_CERT = "COHERENCE_TLS_CERTS_PATH"
741740
ENV_CLIENT_CERT = "COHERENCE_TLS_CLIENT_CERT"
742741
ENV_CLIENT_KEY = "COHERENCE_TLS_CLIENT_KEY"

coherence/serialization.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ def restore(self, obj: dict[str, Any]) -> int:
174174

175175

176176
class JavaProxyUnpickler(jsonpickle.Unpickler):
177-
178177
# noinspection PyUnresolvedReferences
179178
def _restore(self, obj: Any) -> Any:
180179
if isinstance(obj, dict):

coherence/util.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ def values_request(self, filter: Optional[Filter] = None, comparator: Optional[C
256256
return r
257257

258258
def keys_request(self, filter: Optional[Filter] = None) -> KeySetRequest:
259-
260259
r: KeySetRequest = KeySetRequest(
261260
scope=self._scope,
262261
cache=self._cache_name,

tests/test_processors.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,6 @@ async def test_method_invocation(setup_and_teardown: NamedCache[Any, Any]) -> No
288288
# noinspection PyShadowingNames
289289
@pytest.mark.asyncio
290290
async def test_touch() -> None:
291-
292291
tp = TouchProcessor.create()
293292
serializer = JSONSerializer()
294293
j = serializer.serialize(tp)
@@ -314,7 +313,6 @@ async def test_script() -> None:
314313
# noinspection PyShadowingNames
315314
@pytest.mark.asyncio
316315
async def test_preload() -> None:
317-
318316
tp = PreloadRequest.create()
319317
serializer = JSONSerializer()
320318
j = serializer.serialize(tp)

0 commit comments

Comments
 (0)