github snok/flake8-type-checking v1.3.0

latest releases: v2.4.1, v2.4.0, v2.3.1...
2 years ago

Features

  • Added FastAPI support (#60)

    Added a --type-checking-fastapi-enabled option to treat decorated function annotations as required at runtime. Note that FastAPI also evaluates the annotations of callables passed to Depends. For now that is not handled by the setting.

Fixes and improvements

  • Corrected the flake8-extensions code in the project's pyproject.toml (was TCH rather than TC)
  • Removed dead changelog link in favour of releases link, in the pypi metadata
  • Removed pytest-cov in favour of just coverage
  • Rewrote sections of the docs

Don't miss a new flake8-type-checking release

NewReleases is sending notifications on new releases.