Feature request type
Is your feature request related to a problem? Please describe.
Scanning files is increased in 4-6 times with pytest 8.4.1+ (compared to 8.3.5)
Describe the solution you'd like
Looks like could be used additional options in https://github.com/pylint-dev/pylint-pytest/blob/master/pylint_pytest/checkers/fixture.py on call pytest.main(...)
- "--quiet" - small improve
- "-p no:unraisableexception" - huge improve. Not sure that this is needed on scanning but added
gc.collect() in it takes 0.3-0.6 seconds per scanned module
Describe alternatives you've considered
Don't know such
Sample code to demonstrate the current imperfect behavior
Added some debug output to check performance changes - this pytest change causes problem that becomes visible when start multiple times pytest.main
Additional context
Nothing to add
Feature request type
Is your feature request related to a problem? Please describe.
Scanning files is increased in 4-6 times with pytest 8.4.1+ (compared to 8.3.5)
Describe the solution you'd like
Looks like could be used additional options in https://github.com/pylint-dev/pylint-pytest/blob/master/pylint_pytest/checkers/fixture.py on call
pytest.main(...)gc.collect()in it takes 0.3-0.6 seconds per scanned moduleDescribe alternatives you've considered
Don't know such
Sample code to demonstrate the current imperfect behavior
Added some debug output to check performance changes - this pytest change causes problem that becomes visible when start multiple times
pytest.mainAdditional context
Nothing to add