Update Python version and MyPy command.
This commit is contained in:
		
							parent
							
								
									c637675a6f
								
							
						
					
					
						commit
						367df1034d
					
				
					 2 changed files with 5 additions and 5 deletions
				
			
		
							
								
								
									
										8
									
								
								.github/workflows/checks.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/checks.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -16,15 +16,15 @@ jobs: | |||
|       uses: actions/checkout@v2 | ||||
| 
 | ||||
|     - name: Set up Python | ||||
|       uses: actions/setup-python@v2 | ||||
|       uses: actions/setup-python@v3 | ||||
|       with: | ||||
|         python-version: 3.10 | ||||
|         python-version: '3.x' | ||||
| 
 | ||||
|     - name: Install dependencies | ||||
|       run: | | ||||
|         python -m pip install --upgrade pip | ||||
|         pip install -r .github/workflows/requirements.txt | ||||
|         python -m pip install -r .github/workflows/requirements.txt | ||||
| 
 | ||||
|     - name: Run MyPy | ||||
|       run: | | ||||
|         python -m mypy . | ||||
|         python -m mypy --install-types --non-interactive . | ||||
|  |  | |||
|  | @ -5,7 +5,7 @@ import os | |||
| import logging | ||||
| 
 | ||||
| 
 | ||||
| from . import const, shell, jexpr, utils, rules, mixins, project, model | ||||
| from . import const, shell, jexpr, utils, rules, mixins, model | ||||
| 
 | ||||
| _logger = logging.getLogger(__name__) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue