Add ruff plugin to pylsp
This commit is contained in:
		
							parent
							
								
									202893ec08
								
							
						
					
					
						commit
						460d421513
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -76,6 +76,15 @@
 | 
			
		|||
        }
 | 
			
		||||
      ];
 | 
			
		||||
      language-server = {
 | 
			
		||||
        pylsp = {
 | 
			
		||||
          config.pylsp.plugins = {
 | 
			
		||||
            ruff = {
 | 
			
		||||
              enabled = true;
 | 
			
		||||
              ignore = ["F401"];
 | 
			
		||||
              lineLength = 120;
 | 
			
		||||
            };
 | 
			
		||||
          };
 | 
			
		||||
        };
 | 
			
		||||
        ruff = {
 | 
			
		||||
          command = "ruff-lsp";
 | 
			
		||||
        };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue