mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 19:12:38 +00:00 
			
		
		
		
	languages/python: add formatter that combines ruff format with ruff check --fix
		
	This commit is contained in:
		
					parent
					
						
							
								d61de135ce
							
						
					
				
			
			
				commit
				
					
						3d57e036f7
					
				
			
		
					 2 changed files with 16 additions and 0 deletions
				
			
		|  | @ -91,6 +91,16 @@ | |||
|         ''; | ||||
|       }; | ||||
|     }; | ||||
| 
 | ||||
|     ruff-fix = { | ||||
|       package = pkgs.writeShellApplication { | ||||
|         name = "ruff-fix"; | ||||
|         runtimeInputs = [pkgs.ruff]; | ||||
|         text = '' | ||||
|           ruff format - "$@" | ruff check --fix --exit-zero - | ||||
|         ''; | ||||
|       }; | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   defaultDebugger = "debugpy"; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Valter Schütz
				Valter Schütz