Add pre-commit files and linting using pre-commit
This commit is contained in:
@@ -25,12 +25,17 @@ install: pip install tox setuptools_scm
|
||||
script: tox
|
||||
|
||||
stages:
|
||||
- linting
|
||||
- test
|
||||
- name: deploy
|
||||
if: repo = pytest-dev/pytest-xdist AND tag IS present
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- stage: linting
|
||||
python: '3.6'
|
||||
script:
|
||||
- tox -e linting
|
||||
- stage: test
|
||||
# python x env above are already included into this stage
|
||||
- python: "2.7"
|
||||
|
||||
Reference in New Issue
Block a user