mirror of
				https://github.com/wting/autojump
				synced 2025-06-13 12:54:07 +00:00 
			
		
		
		
	testing: Switch to Python 3.9
Don't bother with older versions.
This commit is contained in:
		
							parent
							
								
									06e082c918
								
							
						
					
					
						commit
						c336622516
					
				@ -3,7 +3,7 @@ repos:
 | 
			
		||||
  rev: v1.4.0
 | 
			
		||||
  hooks:
 | 
			
		||||
  - id: autopep8-wrapper
 | 
			
		||||
    language_version: python2
 | 
			
		||||
    language_version: python3
 | 
			
		||||
    args:
 | 
			
		||||
    - --in-place
 | 
			
		||||
    - --aggressive
 | 
			
		||||
@ -11,40 +11,40 @@ repos:
 | 
			
		||||
    - --ignore=E731
 | 
			
		||||
    - --max-line-length=131
 | 
			
		||||
  - id: check-added-large-files
 | 
			
		||||
    language_version: python2
 | 
			
		||||
    language_version: python3
 | 
			
		||||
  - id: check-ast
 | 
			
		||||
    language_version: python2
 | 
			
		||||
    language_version: python3
 | 
			
		||||
  - id: check-case-conflict
 | 
			
		||||
    language_version: python2
 | 
			
		||||
    language_version: python3
 | 
			
		||||
  - id: check-docstring-first
 | 
			
		||||
    language_version: python2
 | 
			
		||||
    language_version: python3
 | 
			
		||||
  - id: debug-statements
 | 
			
		||||
    language_version: python2
 | 
			
		||||
    language_version: python3
 | 
			
		||||
  - id: double-quote-string-fixer
 | 
			
		||||
    language_version: python2
 | 
			
		||||
    language_version: python3
 | 
			
		||||
  - id: end-of-file-fixer
 | 
			
		||||
    language_version: python2
 | 
			
		||||
    language_version: python3
 | 
			
		||||
    exclude_types: [batch, lua]
 | 
			
		||||
  - id: fix-encoding-pragma
 | 
			
		||||
    language_version: python2
 | 
			
		||||
    language_version: python3
 | 
			
		||||
  - id: flake8
 | 
			
		||||
    language_version: python2
 | 
			
		||||
    language_version: python3
 | 
			
		||||
    args:
 | 
			
		||||
    - --max-complexity=10
 | 
			
		||||
    - --max-line-length=131
 | 
			
		||||
    - --ignore=E402,E731
 | 
			
		||||
    - --exclude=bin/autojump_argparse.py
 | 
			
		||||
  - id: name-tests-test
 | 
			
		||||
    language_version: python2
 | 
			
		||||
    language_version: python3
 | 
			
		||||
  - id: requirements-txt-fixer
 | 
			
		||||
    language_version: python2
 | 
			
		||||
    language_version: python3
 | 
			
		||||
  - id: trailing-whitespace
 | 
			
		||||
    language_version: python2
 | 
			
		||||
    language_version: python3
 | 
			
		||||
- repo: git@github.com:asottile/reorder_python_imports.git
 | 
			
		||||
  rev: v1.1.1
 | 
			
		||||
  hooks:
 | 
			
		||||
  - id: reorder-python-imports
 | 
			
		||||
  language_version: python2
 | 
			
		||||
  language_version: python3
 | 
			
		||||
- repo: git@github.com:asottile/add-trailing-comma
 | 
			
		||||
  rev: v0.7.0
 | 
			
		||||
  hooks:
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@ -59,7 +59,7 @@ test-xfail: pre-commit
 | 
			
		||||
 | 
			
		||||
.PHONY: test-fast
 | 
			
		||||
test-fast: pre-commit
 | 
			
		||||
	@tox -e py27
 | 
			
		||||
	@tox -e py39
 | 
			
		||||
 | 
			
		||||
.PHONY: clean
 | 
			
		||||
clean:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user