python-humanfriendly
python-humanfriendly copied to clipboard
Human friendly input/output for text interfaces using Python
pytest 7 and above will call any setup as a hook for any module collected, which in this case calls into the Sphinx machinery due to importing the setup function...
Hello, in debian we recently started the upgrade to pytest7, and now humanfriendly tests are failing with the error below: ``` # python3 -m pytest humanfriendly/tests.py::HumanFriendlyTestCase::test_touch --verbose ============================================================================================================================= test session...
Per [Wikipedia](https://en.wikipedia.org/wiki/Serial_comma), a serial comma is > a comma placed immediately after the penultimate term... in a series of three or more terms We would therefore expect that a serial...
prompt_for_input breaks long input strings incorrectly due to a bug in python's input functions. E.G: ```python from humanfriendly.prompts import prompt_for_input, prompt_for_choice x = [ '/System/Library/CoreServices/SpringBoard.app/SpringBoard', '/System/Library/PrivateFrameworks/SpringBoard.framework/SpringBoard', '/System/Library/PrivateFrameworks/SpringBoardHome.framework/SpringBoardHome', '/System/Library/PrivateFrameworks/SpringBoardFoundation.framework/SpringBoardFoundation', '/System/Library/PrivateFrameworks/SpringBoardUIServices.framework/SpringBoardUIServices', '/System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServices',...
Could you please consider to use unittest.mock at least as a fallback, when mock is not installed?
Warehouse now uses the project_urls provided to display links in the sidebar on [this screen](https://pypi.org/project/requests/), as well as including them in API responses to help the automation tool find the...
I installed humanfriendly so that my discord bot's mute command is usable as a tempmute command too. However, for some reason, even tho if I type `humanfriendly` into the console...
## Problem description Using `subprocess` on Windows can break the colored output of `coloredlogs` if the new process modifies the console mode. Unfortunately, this seems to happen quite a lot,...
Python 3.10 was released on 2021-10-04: * https://discuss.python.org/t/python-3-10-0-is-now-available/10955