| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| solutions | ||
| __init__.py | ||
| assignment.py | ||
| failure.py | ||
| incompatibility.py | ||
| incompatibility_cause.py | ||
| partial_solution.py | ||
| result.py | ||
| set_relation.py | ||
| term.py | ||
| version_solver.py |
Resolves: #3236 \#3236 states that some functions are defined but never used, thus this PR remove then. While removing them, this also makes sure that there is no trouble with: ```bash $ poetry run pytest tests/ $ poetry run pre-commit run --all-files ``` as stated at `CONTRIBUTING.md`. The functions removed were: - `poetry/config/config.py`: + `_get_validator` - `poetry/console/commands/config.py`: + `_list_setting` + `_get_formatted_value` - `poetry/console/commands/run.py` : + `_module` - `poetry/console/commands/self/update.py : + `_bin_path` - `poetry/mixology/version_solver.py`: + `_excludes_single_version` - `poetry/puzzle/provider.py`: + `_formatter_elapsed` - `poetry/utils/setup_reader.py`: + `_is_empty_result` By removing some of those functions Flack announced that there is no more need to do some includes, so they were removed too: - `poetry/mixology/version_solver.py`: + `from typing import Any` + `from poetry.core.semver import Version` + `from poetry.core.semver import VersionRange` - `poetry/puzzle/provider.py`: + `import time`
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| solutions | Loading commit data... | |
| __init__.py | Loading commit data... | |
| assignment.py | Loading commit data... | |
| failure.py | Loading commit data... | |
| incompatibility.py | Loading commit data... | |
| incompatibility_cause.py | Loading commit data... | |
| partial_solution.py | Loading commit data... | |
| result.py | Loading commit data... | |
| set_relation.py | Loading commit data... | |
| term.py | Loading commit data... | |
| version_solver.py | Loading commit data... |