mirror of
				https://github.com/Garmelon/PFERD.git
				synced 2025-11-04 06:32:52 +01:00 
			
		
		
		
	Run formatting tools
This commit is contained in:
		@@ -25,6 +25,7 @@ async def ainput(prompt: str) -> str:
 | 
			
		||||
async def agetpass(prompt: str) -> str:
 | 
			
		||||
    return await to_thread(lambda: getpass.getpass(prompt))
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def soupify(data: bytes) -> bs4.BeautifulSoup:
 | 
			
		||||
    """
 | 
			
		||||
    Parses HTML to a beautifulsoup object.
 | 
			
		||||
@@ -32,6 +33,7 @@ def soupify(data: bytes) -> bs4.BeautifulSoup:
 | 
			
		||||
 | 
			
		||||
    return bs4.BeautifulSoup(data, "html.parser")
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
async def prompt_yes_no(query: str, default: Optional[bool]) -> bool:
 | 
			
		||||
    """
 | 
			
		||||
    Asks the user a yes/no question and returns their choice.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user