albertas / deadcode

Find and fix unused Python code using command line.
GNU Affero General Public License v3.0
90 stars 4 forks source link

[Question] How do I run deadcode to check a FastAPI project? #17

Open dmelo opened 3 months ago

dmelo commented 3 months ago

Perhaps because of the way we specify routes in FastAPI, when I run deadcode on a FastAPI project it identify nearly everything as dead code.

Is there a way to run deadcode for FastAPI projects?