| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| config | ||
| console | ||
| fixtures | ||
| inspection | ||
| installation | ||
| masonry/builders | ||
| mixology | ||
| packages | ||
| plugins | ||
| publishing | ||
| puzzle | ||
| repositories | ||
| utils | ||
| __init__.py | ||
| compat.py | ||
| conftest.py | ||
| helpers.py | ||
| test_factory.py | ||
| types.py |
* Added canonicalize_name() to console/commands/init.py * Removed unnecessary helper function calls * Fixed capitalized package bug on poetry init Used canonicalize_name to standardize the names of all packages in poetry init with interactive dependencies. Given its importance, added a test_canoncalize_name() test to tests/utils/test_helpers.py * Split out _get_choice_list to a separate function For testing purposes * Tests working with canonicalized_name assigned outside of _generate_choice_list() * Changed test_generate_choice_list Parameterized a _generate_choice_list_packages fixture in order to call the test with both > 10 and < 10 cases, verifying that output is <= 10 and the package_name has the desired package first in choices * Added output message if choice_list is truncated Also added cases for truncation and non-truncation in test_generate_choice_list to ensure the message is printed in only the correct cases * Removed info_string calls Moved info_string generation logic out of init._generate_choice_list * Removed type hint for info_string
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| config | Loading commit data... | |
| console | Loading commit data... | |
| fixtures | Loading commit data... | |
| inspection | Loading commit data... | |
| installation | Loading commit data... | |
| masonry/builders | Loading commit data... | |
| mixology | Loading commit data... | |
| packages | Loading commit data... | |
| plugins | Loading commit data... | |
| publishing | Loading commit data... | |
| puzzle | Loading commit data... | |
| repositories | Loading commit data... | |
| utils | Loading commit data... | |
| __init__.py | Loading commit data... | |
| compat.py | Loading commit data... | |
| conftest.py | Loading commit data... | |
| helpers.py | Loading commit data... | |
| test_factory.py | Loading commit data... | |
| types.py | Loading commit data... |