From 94e8c923d7a637ef38ce2214038d87165dde1b30 Mon Sep 17 00:00:00 2001 From: James Zhang Date: Thu, 4 Sep 2025 15:59:26 -0400 Subject: [PATCH] stuff --- .circleci/config.yml | 11 +++++++++++ .gitignore | 1 + pyproject.toml | 1 + 3 files changed, 13 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7dfde03d4..9172684fd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -89,6 +89,14 @@ jobs: npm set //registry.npmjs.org/:_authToken=$NPM_TOKEN npm publish --access=public + check_api: + docker: + - image: cimg/python:3.12 + steps: + - checkout + - run: poetry install + - run: poetry run pyapi analyze + circle-all: docker: - image: node:lts @@ -134,6 +142,8 @@ workflows: httpx_version: ["0.25", "0.26", "0.27", "0.28"] - black: <<: *always-run + - check_api: + <<: *always-run - circle-all: <<: *always-run requires: @@ -154,6 +164,7 @@ workflows: - httpx-0.28 - black + - check_api - npm-build-18.20 - npm-build-20.19 - npm-build-22.14 diff --git a/.gitignore b/.gitignore index 42e155a8e..ff285fa14 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ *.pyc tmp test.py +.idea/ diff --git a/pyproject.toml b/pyproject.toml index 4c047ccbc..aa9960756 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,7 @@ pytest = ">=7.4.0" pytest-asyncio = ">=0.23.0" uvicorn = ">=0.34.0" fastapi = ">=0.115.6" +pyapi-checker = {version = "^0.12.0", markers = "python_version >= '3.12'"} [tool.poetry.extras] cli = ["click"]