diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index edbd6f4..48f2b44 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -17,5 +17,6 @@ jobs: python-versions: | 3.10 3.11 + 3.12 working-directory: stubs checkout-ref: ${{ inputs.checkout-ref }} diff --git a/stubs/pyproject.toml b/stubs/pyproject.toml index 15070f3..e7e1f60 100644 --- a/stubs/pyproject.toml +++ b/stubs/pyproject.toml @@ -45,6 +45,6 @@ urls.Source = "https://github.com/ignition-devs/ignition-api/tree/8.3" urls.Tracker = "https://github.com/ignition-devs/ignition-api/issues" [tool.setuptools] -include-package-data = true package-dir = { "" = "stubs" } +include-package-data = true package-data."*" = [ "*.pyi", "py.typed" ] diff --git a/stubs/tox.ini b/stubs/tox.ini index 89e52d8..601e108 100644 --- a/stubs/tox.ini +++ b/stubs/tox.ini @@ -13,6 +13,8 @@ skip_install = true deps = --requirement requirements.txt mypy[python2] @ git+https://github.com/coatl-dev/mypy.git@v0.971 +set_env = + CFLAGS = -std=gnu17 commands = mypy stubs