diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 328be85..9976c41 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,6 +6,7 @@ on: paths: - '.github/workflows/test.yml' - 'src/**' + - 'tests/**' - 'Makefile' - 'requirements.test.txt' pull_request: diff --git a/docs/conf.py b/docs/conf.py index 7949722..5e86745 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -37,7 +37,6 @@ "myst_parser", "sphinx.ext.napoleon", "pallets_sphinx_themes", - "sphinxcontrib.autodoc_pydantic", "notfound.extension", ) myst_enable_extensions = ["deflist"] @@ -95,7 +94,3 @@ autodoc_preserve_defaults = False autodoc_member_order = "bysource" autodoc_class_signature = "mixed" - -# Pydantic -autodoc_pydantic_model_show_json = True -autodoc_pydantic_settings_show_json = False diff --git a/docs/modules/gee-test/example.rst b/docs/modules/gee-test/example.rst index 3e8983a..e0d5012 100644 --- a/docs/modules/gee-test/example.rst +++ b/docs/modules/gee-test/example.rst @@ -10,3 +10,4 @@ To import this module: .. autoclass:: python3_anticaptcha.gee_test.GeeTest :members: + :inherited-members: diff --git a/docs/modules/image-to-coordinates/example.rst b/docs/modules/image-to-coordinates/example.rst index 8158791..bf2753e 100644 --- a/docs/modules/image-to-coordinates/example.rst +++ b/docs/modules/image-to-coordinates/example.rst @@ -10,3 +10,4 @@ To import this module: .. autoclass:: python3_anticaptcha.image_to_coordinates.ImageToCoordinates :members: + :inherited-members: diff --git a/docs/modules/image/example.rst b/docs/modules/image/example.rst index 3a89f54..c7c3e78 100644 --- a/docs/modules/image/example.rst +++ b/docs/modules/image/example.rst @@ -10,3 +10,4 @@ To import this module: .. autoclass:: python3_anticaptcha.image_to_text.ImageToText :members: + :inherited-members: diff --git a/docs/modules/recaptcha-v2/example.rst b/docs/modules/recaptcha-v2/example.rst index 038ad03..e42465f 100644 --- a/docs/modules/recaptcha-v2/example.rst +++ b/docs/modules/recaptcha-v2/example.rst @@ -10,3 +10,4 @@ To import this module: .. autoclass:: python3_anticaptcha.recaptcha_v2.ReCaptchaV2 :members: + :inherited-members: diff --git a/docs/modules/recaptcha-v3/example.rst b/docs/modules/recaptcha-v3/example.rst index 16ca763..e2c3725 100644 --- a/docs/modules/recaptcha-v3/example.rst +++ b/docs/modules/recaptcha-v3/example.rst @@ -10,3 +10,4 @@ To import this module: .. autoclass:: python3_anticaptcha.recaptcha_v3.ReCaptchaV3 :members: + :inherited-members: diff --git a/docs/modules/turnstile/example.rst b/docs/modules/turnstile/example.rst index a4b8561..a08b8e3 100644 --- a/docs/modules/turnstile/example.rst +++ b/docs/modules/turnstile/example.rst @@ -9,4 +9,5 @@ To import this module: .. autoclass:: python3_anticaptcha.turnstile.Turnstile - :members: \ No newline at end of file + :members: + :inherited-members: diff --git a/docs/requirements.txt b/docs/requirements.txt index 27f6fa6..ecf1931 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,6 +1,3 @@ sphinx==8.1.3 pallets_sphinx_themes==2.3.0 myst-parser==4.0.0 -autodoc_pydantic==2.2.0 -pydantic==2.10.4 -pydantic-settings==2.7.1