@@ -198,32 +198,6 @@ source-includes = [
198198 " docs/en/docs/img/favicon.png" ,
199199]
200200
201- [tool .tiangolo ._internal-slim-build .packages .fastapi-slim .project ]
202- name = " fastapi-slim"
203- readme = " fastapi-slim/README.md"
204- dependencies = [
205- " fastapi" ,
206- ]
207- optional-dependencies = {}
208- scripts = {}
209-
210- [tool .tiangolo ._internal-slim-build .packages .fastapi-slim .tool .pdm .build ]
211- # excludes needs to explicitly exclude the top level python packages,
212- # otherwise PDM includes them by default
213- # A "*" glob pattern can't be used here because in PDM internals, the patterns are put
214- # in a set (unordered, order varies) and each excluded file is assigned one of the
215- # glob patterns that matches, as the set is unordered, the matched pattern could be "*"
216- # independent of the order here. And then the internal code would give it a lower score
217- # than the one for a default included file.
218- # By not using "*" and explicitly excluding the top level packages, they get a higher
219- # score than the default inclusion
220- excludes = [" fastapi" , " tests" , " pdm_build.py" ]
221- # source-includes needs to explicitly define some value because PDM will check the
222- # truthy value of the list, and if empty, will include some defaults, including "tests",
223- # an empty string doesn't match anything, but makes the list truthy, so that PDM
224- # doesn't override it during the build.
225- source-includes = [" " ]
226-
227201[tool .mypy ]
228202plugins = [" pydantic.mypy" ]
229203strict = true
0 commit comments