File tree Expand file tree Collapse file tree 2 files changed +35
-2
lines changed Expand file tree Collapse file tree 2 files changed +35
-2
lines changed Original file line number Diff line number Diff line change
1
+ # This file is managed by 'repo_helper'. Don't edit it directly.
2
+ ---
3
+ name : Flake8
4
+
5
+ on :
6
+ push :
7
+ pull_request :
8
+ branches : ["master"]
9
+
10
+ jobs :
11
+ Run :
12
+ name : " Flake8"
13
+ runs-on : " ubuntu-18.04"
14
+
15
+ steps :
16
+ - name : Checkout 🛎️
17
+ uses : " actions/checkout@v2"
18
+
19
+ - name : Setup Python 🐍
20
+ uses : " actions/setup-python@v2"
21
+ with :
22
+ python-version : " 3.8"
23
+
24
+ - name : Install dependencies 🔧
25
+ run : |
26
+ python -VV
27
+ python -m site
28
+ python -m pip install --upgrade pip setuptools wheel
29
+ python -m pip install tox
30
+
31
+ - name : " Run Flake8"
32
+ run : " python -m tox -e lint -- --format github"
Original file line number Diff line number Diff line change @@ -76,9 +76,10 @@ deps =
76
76
git+https://github.com/PyCQA/pydocstyle@5118faa7173b0e5bbc230c4adf628758e13605bf
77
77
git+https://github.com/domdfcoding/flake8-quotes.git
78
78
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
79
- git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
79
+ git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
80
+ git+https://github.com/domdfcoding/flake8-github-actions
80
81
pygments>=2.7.1
81
- commands = python3 -m flake8_rst_docstrings_sphinx domdf_python_tools tests --allow-toolbox
82
+ commands = python3 -m flake8_rst_docstrings_sphinx domdf_python_tools tests --allow-toolbox {posargs}
82
83
83
84
[testenv:mypy]
84
85
basepython = python3.6
You can’t perform that action at this time.
0 commit comments