Skip to content

Commit b6ddac8

Browse files
formatting
1 parent 59b0471 commit b6ddac8

File tree

8 files changed

+13
-16
lines changed

8 files changed

+13
-16
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ jobs:
4747
- name: Publish to PyPI
4848
uses: pypa/gh-action-pypi-publish@release/v1
4949
with:
50-
password: ${{ secrets.PYPI_API_TOKEN }}
50+
password: ${{ secrets.PYPI_API_TOKEN }}

LICENSE.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Arroyo Stream Processing Toolset (arroyopy) Copyright (c) 2025, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy).
1+
Arroyo Stream Processing Toolset (arroyopy) Copyright (c) 2025, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy).
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without
@@ -31,4 +31,3 @@ non-exclusive, royalty-free perpetual license to install, use, modify,
3131
prepare derivative works, incorporate into other computer software,
3232
distribute, and sublicense such enhancements or derivative works thereof,
3333
in binary and source code form.
34-

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ pixi r test
206206
'''
207207

208208
# Copyright
209-
Arroyo Stream Processing Toolset (arroyopy) Copyright (c) 2025, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy).
209+
Arroyo Stream Processing Toolset (arroyopy) Copyright (c) 2025, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy).
210210
All rights reserved.
211211

212212
If you have questions about your rights to use or distribute this software,
@@ -217,5 +217,5 @@ NOTICE. This Software was developed under funding from the U.S. Department
217217
of Energy and the U.S. Government consequently retains certain rights. As
218218
such, the U.S. Government has been granted for itself and others acting on
219219
its behalf a paid-up, nonexclusive, irrevocable, worldwide license in the
220-
Software to reproduce, distribute copies to the public, prepare derivative
221-
works, and perform publicly and display publicly, and to permit others to do so.
220+
Software to reproduce, distribute copies to the public, prepare derivative
221+
works, and perform publicly and display publicly, and to permit others to do so.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ pytest = ">=8.3.3,<9"
7777

7878

7979
[project.urls]
80-
Homepage = "https://github.com/als-computing/als_arroyo"
81-
Issues = "https://github.com/als-computing/als_arroyo/issues"
80+
Homepage = "https://github.com/als-computing/arroyopy"
81+
Issues = "https://github.com/als-computing/arroyopy/issues"
8282

8383

8484
[tool.isort]
8585
profile = "black"
8686

8787
[tool.hatch.metadata]
88-
allow-direct-references = true
88+
allow-direct-references = true

src/arroyopy/listener.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import asyncio
22
from abc import ABC, abstractmethod
3-
from typing import Generic, TypeVar
43

54

65
class Listener(ABC):

src/arroyopy/operator.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
from abc import ABC, abstractmethod
21
import asyncio
32
import logging
3+
from abc import ABC, abstractmethod
44
from typing import List
55

66
from .listener import Listener
@@ -9,6 +9,7 @@
99

1010
logger = logging.getLogger(__name__)
1111

12+
1213
class Operator(ABC):
1314
listeners: List[Listener] = []
1415
publishers: List[Publisher] = []
@@ -24,7 +25,7 @@ async def process(self, message: Message) -> None:
2425
async def add_listener(self, listener: Listener) -> None: # noqa
2526
self.listeners.append(listener)
2627
await listener.start(self.listener_queue)
27-
28+
2829
def remove_listener(self, listener: Listener) -> None: # noqa
2930
self.listeners.remove(listener)
3031

src/arroyopy/publisher.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
from .schemas import Message
55

6-
T = TypeVar('T', bound=Message)
6+
T = TypeVar("T", bound=Message)
77

8-
class Publisher(ABC, Generic[T]):
98

9+
class Publisher(ABC, Generic[T]):
1010
@abstractmethod
1111
async def publish(self, message: Message) -> None:
1212
pass

src/arroyopy/schemas.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from typing import Tuple
2-
31
import numpy
42
import numpy.typing
53
import pandas

0 commit comments

Comments
 (0)