-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
62444c0
commit a0f5c16
Showing
28 changed files
with
591 additions
and
533 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,18 +16,10 @@ jobs: | |
with: | ||
python-version: '3.12' | ||
|
||
- name: check GITHUB_REF matches package version | ||
uses: samuelcolvin/[email protected] | ||
with: | ||
version_file_path: centrifuge/__meta__.py | ||
|
||
- name: Install build dependencies | ||
run: pip install build | ||
- name: Install poetry | ||
run: pip install poetry | ||
|
||
- name: Build distribution | ||
run: python -m build | ||
- run: poetry config pypi-token.pypi "${{ secrets.PYPI_PASSWORD }}" | ||
|
||
- name: Publish package to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
password: ${{ secrets.PYPI_PASSWORD }} | ||
- name: Publish package | ||
run: poetry publish --build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,5 +26,3 @@ repos: | |
name: Validate types with MyPy | ||
language: system | ||
types: [ python ] | ||
args: | ||
- "cent" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,9 @@ | ||
from .session import ( | ||
BaseSession, | ||
BaseAsyncSession, | ||
BaseSyncSession, | ||
AiohttpSession, | ||
RequestsSession, | ||
) | ||
from .sync_client import Client | ||
from .async_client import AsyncClient | ||
from .grpc_client import GrpcClient | ||
|
||
__all__ = ( | ||
"AiohttpSession", | ||
"AsyncClient", | ||
"BaseAsyncSession", | ||
"BaseSession", | ||
"BaseSyncSession", | ||
"Client", | ||
"GrpcClient", | ||
"RequestsSession", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.