mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 18:56:53 +00:00
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 ``` |
||
|---|---|---|
| .. | ||
| plugins | ||
| __init__.py | ||
| conftest.py | ||
| test_application.py | ||
| test_base_formatter.py | ||
| test_checker_manager.py | ||
| test_debug.py | ||
| test_decision_engine.py | ||
| test_discover_files.py | ||
| test_exceptions.py | ||
| test_file_checker.py | ||
| test_file_processor.py | ||
| test_filenameonly_formatter.py | ||
| test_legacy_api.py | ||
| test_main_options.py | ||
| test_nothing_formatter.py | ||
| test_option.py | ||
| test_option_manager.py | ||
| test_options_config.py | ||
| test_pyflakes_codes.py | ||
| test_statistics.py | ||
| test_style_guide.py | ||
| test_utils.py | ||
| test_violation.py | ||