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 f1ed07a..aade2d0 100644 --- a/stubs/pyproject.toml +++ b/stubs/pyproject.toml @@ -45,6 +45,6 @@ urls.Source = "https://github.com/ignition-devs/ignition-api/tree/8.1" 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 d47a1e4..16e5a42 100644 --- a/stubs/tox.ini +++ b/stubs/tox.ini @@ -9,6 +9,8 @@ skip_missing_interpreters = true description = install and run type check on code base deps = mypy[python2] @ git+https://github.com/coatl-dev/mypy.git@v0.971 +set_env = + CFLAGS = -std=gnu17 commands = mypy stubs