forked from zaclys/searxng
		
	[enh] clarify why we run pyright in the pyenv
This commit is contained in:
		
							parent
							
								
									aaf616fbd6
								
							
						
					
					
						commit
						3cd5ce55e8
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		
							
								
								
									
										2
									
								
								manage
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								manage
									
										
									
									
									
								
							| 
						 | 
					@ -687,6 +687,8 @@ test.pylint() {
 | 
				
			||||||
test.pyright() {
 | 
					test.pyright() {
 | 
				
			||||||
    build_msg TEST "[pyright] static type check of python sources"
 | 
					    build_msg TEST "[pyright] static type check of python sources"
 | 
				
			||||||
    nodejs.ensure
 | 
					    nodejs.ensure
 | 
				
			||||||
 | 
					    # We run Pyright in the virtual environment because Pyright
 | 
				
			||||||
 | 
					    # executes "python" to determine the Python version.
 | 
				
			||||||
    pyenv.cmd pyright
 | 
					    pyenv.cmd pyright
 | 
				
			||||||
    dump_return $?
 | 
					    dump_return $?
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue