albertas / deadcode

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

pytest methods as setUp and tearDown are identified as deadcode #21

Open post2web opened 2 months ago

post2web commented 2 months ago

pytest is the most common testing framework. It would be nice to suppress reporting to the build in methods as setUp and tearDown in test files.

ashrub-holvi commented 1 month ago

I think it's not pytest's methods, but unittest's