The --no-showlocals flag has been added. This can be passed directly to tests to override --showlocals declared through addopts.