-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from dapper91/dev
- python 3.10 support added - pipenv replaced by poetry - mypy type checker added - kombu client hanging bug fixed - openapi json-rpc versions reordered so that version 2.0 will be the default example version - set_default_content_type function exposed - documentation fixed
- Loading branch information
Showing
98 changed files
with
1,688 additions
and
998 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
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 |
---|---|---|
|
@@ -104,3 +104,5 @@ venv.bak/ | |
.mypy_cache/ | ||
|
||
.idea | ||
|
||
poetry.lock |
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,52 +1,73 @@ | ||
default_stages: | ||
- commit | ||
- merge-commit | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.0.1 | ||
rev: v4.1.0 | ||
hooks: | ||
- id: check-docstring-first | ||
stages: | ||
- commit | ||
- push | ||
- id: check-merge-conflict | ||
stages: | ||
- push | ||
- id: check-yaml | ||
- id: check-toml | ||
- id: trailing-whitespace | ||
stages: | ||
- commit | ||
- push | ||
- id: end-of-file-fixer | ||
stages: | ||
- commit | ||
- push | ||
- id: mixed-line-ending | ||
name: fix line ending | ||
stages: | ||
- commit | ||
- push | ||
args: | ||
- --fix=lf | ||
- id: no-commit-to-branch | ||
- id: mixed-line-ending | ||
name: check line ending | ||
stages: | ||
- merge-commit | ||
args: | ||
- --fix=no | ||
- repo: https://github.com/asottile/add-trailing-comma | ||
rev: v2.2.1 | ||
hooks: | ||
- id: add-trailing-comma | ||
stages: | ||
- commit | ||
- repo: https://github.com/pre-commit/mirrors-autopep8 | ||
rev: v1.5.7 | ||
rev: v1.6.0 | ||
hooks: | ||
- id: autopep8 | ||
stages: | ||
- commit | ||
- push | ||
args: | ||
- --max-line-length=120 | ||
- --diff | ||
- repo: https://github.com/asottile/add-trailing-comma | ||
rev: v2.1.0 | ||
hooks: | ||
- id: add-trailing-comma | ||
stages: | ||
- commit | ||
- push | ||
- repo: https://gitlab.com/pycqa/flake8 | ||
rev: 3.9.2 | ||
hooks: | ||
- id: flake8 | ||
- repo: https://github.com/pycqa/isort | ||
rev: 5.10.1 | ||
hooks: | ||
- id: isort | ||
name: fix import order | ||
stages: | ||
- commit | ||
args: | ||
- --line-length=120 | ||
- --multi-line=9 | ||
- --project=pjrpc | ||
- id: isort | ||
name: check import order | ||
stages: | ||
- merge-commit | ||
args: | ||
- --check-only | ||
- --line-length=120 | ||
- --multi-line=9 | ||
- --project=pjrpc | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v0.942 | ||
hooks: | ||
- id: mypy | ||
stages: | ||
- commit | ||
- push | ||
name: mypy | ||
pass_filenames: false | ||
args: ["--package", "pjrpc"] |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
version: 2 | ||
|
||
build: | ||
os: ubuntu-20.04 | ||
tools: | ||
python: "3.9" | ||
|
||
sphinx: | ||
configuration: docs/source/conf.py | ||
|
||
python: | ||
install: | ||
- method: pip | ||
path: . | ||
extra_requirements: | ||
- docgen |
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 was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -86,7 +86,7 @@ The API Documentation | |
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
pjrpc/api | ||
pjrpc/api/index | ||
|
||
|
||
Development | ||
|
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
.. _api_client: | ||
|
||
Client | ||
------ | ||
|
||
|
||
.. automodule:: pjrpc.client | ||
:members: | ||
|
||
Backends | ||
~~~~~~~~ | ||
|
||
.. automodule:: pjrpc.client.backend.requests | ||
:members: | ||
|
||
.. automodule:: pjrpc.client.backend.aiohttp | ||
:members: | ||
|
||
.. automodule:: pjrpc.client.backend.kombu | ||
:members: | ||
|
||
.. automodule:: pjrpc.client.backend.aio_pika | ||
:members: | ||
|
||
Tracer | ||
~~~~~~ | ||
|
||
.. automodule:: pjrpc.client.tracer | ||
:members: | ||
|
||
|
||
Integrations | ||
~~~~~~~~~~~~ | ||
|
||
.. automodule:: pjrpc.client.integrations.pytest | ||
:members: |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
.. _api_common: | ||
|
||
Common | ||
------ | ||
|
||
|
||
.. automodule:: pjrpc.common | ||
:members: | ||
|
||
|
||
Types | ||
~~~~~ | ||
|
||
.. automodule:: pjrpc.common.typedefs | ||
:members: | ||
|
||
|
||
Exceptions | ||
~~~~~~~~~~ | ||
|
||
.. automodule:: pjrpc.common.exceptions | ||
:members: | ||
|
||
Identifier generators | ||
~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. automodule:: pjrpc.common.generators | ||
:members: |
Oops, something went wrong.