Update Python version and MyPy command.
This commit is contained in:
		
							parent
							
								
									0a5ed0c444
								
							
						
					
					
						commit
						9dc1575a57
					
				
					 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
 | 
					      uses: actions/checkout@v2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Set up Python
 | 
					    - name: Set up Python
 | 
				
			||||||
      uses: actions/setup-python@v2
 | 
					      uses: actions/setup-python@v3
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        python-version: 3.10
 | 
					        python-version: '3.x'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Install dependencies
 | 
					    - name: Install dependencies
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
        python -m pip install --upgrade pip
 | 
					        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
 | 
					    - name: Run MyPy
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
        python -m mypy .
 | 
					        python -m mypy --install-types --non-interactive .
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,7 +5,7 @@ import os
 | 
				
			||||||
import logging
 | 
					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__)
 | 
					_logger = logging.getLogger(__name__)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue