drone: simplify lint
This commit is contained in:
		@@ -2,14 +2,10 @@ kind: pipeline
 | 
				
			|||||||
name: default
 | 
					name: default
 | 
				
			||||||
 | 
					
 | 
				
			||||||
steps:
 | 
					steps:
 | 
				
			||||||
- name: isort
 | 
					- name: lint
 | 
				
			||||||
  image: python:alpine
 | 
					 | 
				
			||||||
  commands:
 | 
					 | 
				
			||||||
  - pip install isort
 | 
					 | 
				
			||||||
  - isort --check-only --diff .
 | 
					 | 
				
			||||||
- name: pylint
 | 
					 | 
				
			||||||
  image: alpine
 | 
					  image: alpine
 | 
				
			||||||
  commands:
 | 
					  commands:
 | 
				
			||||||
  - apk add --no-cache python3 py3-lxml py3-pip py3-wheel py3-enchant hunspell-en
 | 
					  - apk add --no-cache python3 py3-lxml py3-pip py3-wheel py3-enchant hunspell-en
 | 
				
			||||||
 | 
					  - isort --check-only --diff .
 | 
				
			||||||
  - pip3 install --no-cache-dir .[full] .[dev]
 | 
					  - pip3 install --no-cache-dir .[full] .[dev]
 | 
				
			||||||
  - pylint morss --rcfile=.pylintrc --disable=C,R,W --fail-under=8
 | 
					  - pylint morss --rcfile=.pylintrc --disable=C,R,W --fail-under=8
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user