Merge branch '3.1.x' into 3.x

This commit is contained in:
Takeshi KOMIYA 2020-06-14 13:48:31 +09:00
commit a0411ce19d
4 changed files with 50 additions and 6 deletions

16
.github/workflows/docslint.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Lint the format of document
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
- name: Install dependencies
run: pip install -U tox
- name: Run Tox
run: tox -e docslint

18
.github/workflows/flake8.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Lint source code (flake8)
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.6
- name: Install dependencies
run: pip install -U tox
- name: Run Tox
run: tox -e flake8

16
.github/workflows/mypy.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Lint source code (mypy)
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
- name: Install dependencies
run: pip install -U tox
- name: Run Tox
run: tox -e mypy

View File

@ -29,12 +29,6 @@ jobs:
- TOXENV=du16
- python: '3.6'
env: TOXENV=docs
- python: '3.6'
env: TOXENV=docslint
- python: '3.6'
env: TOXENV=mypy
- python: '3.6'
env: TOXENV=flake8
- language: node_js
node_js: '10.7'