mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 11:02:37 +00:00 
			
		
		
		
	languages/python: add formatter that combines ruff format with ruff check --fix (#1072)
		
	* languages/python: add formatting option for `ruff check --fix` * docs: remove unrelated changes --------- Co-authored-by: Valter Schütz <valterschutz@proton.me> Co-authored-by: Ching Pei Yang <59727193+horriblename@users.noreply.github.com>
This commit is contained in:
		
					parent
					
						
							
								d2ceb1b610
							
						
					
				
			
			
				commit
				
					
						8ab27a131e
					
				
			
		
					 2 changed files with 16 additions and 0 deletions
				
			
		|  | @ -149,6 +149,16 @@ | |||
|         ''; | ||||
|       }; | ||||
|     }; | ||||
| 
 | ||||
|     ruff-check = { | ||||
|       package = pkgs.writeShellApplication { | ||||
|         name = "ruff-check"; | ||||
|         runtimeInputs = [pkgs.ruff]; | ||||
|         text = '' | ||||
|           ruff check --fix --exit-zero - | ||||
|         ''; | ||||
|       }; | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   defaultDebugger = "debugpy"; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Valter Schütz
				Valter Schütz