flake8/tests
Anthony Sottile fce93b952a prevent duplicate plugin discovery on misconfigured pythons
for example, `venv`-virtualenvs on fedora have both `lib` and `lib64` on
`sys.path` despite them being the same.  this causes
`importlib.metadata.distributions` to double-discover.

```console
$ docker run --rm -t fedora:latest bash -c 'dnf install -qq -y python3 >& /dev/null && python3 -m venv venv && venv/bin/pip -qq install cfgv && venv/bin/python - <<< "from importlib.metadata import distributions; print(len([d for d in distributions() if d.name == '"'"'cfgv'"'"']))"'
2
```
2022-07-31 18:03:25 -04:00
..
fixtures/diffs rework plugin loading 2021-12-31 15:09:54 -08:00
integration simplify decision engine 2022-03-22 18:22:20 -07:00
unit prevent duplicate plugin discovery on misconfigured pythons 2022-07-31 18:03:25 -04:00
__init__.py mypy now passes 2019-05-19 17:31:04 -07:00
conftest.py extend black formatting to tests as well 2021-04-18 09:23:48 -07:00