Skip to content

Commit 7929f2e

Browse files
committed
Updated files with 'repo_helper'.
1 parent 9c93724 commit 7929f2e

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

.github/workflows/python_ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# This file is managed by `repo_helper`. Don't edit it directly
12
---
23
name: Windows Tests
34

.github/workflows/python_ci_macos.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# This file is managed by `repo_helper`. Don't edit it directly
12
---
23
name: macOS Tests
34

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ stages:
2727
- test
2828
- deploy_pypi
2929
- deploy_conda
30-
- deploy_releases
30+
3131

3232
jobs:
3333
include:

tox.ini

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ deps =
7979
flake8-docstrings
8080
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
8181
flake8-builtins
82+
flake8-walrus
8283
pygments
8384
git+https://github.com/domdfcoding/flake8-quotes.git
8485
commands = flake8 coverage_pyver_pragma tests
@@ -147,9 +148,24 @@ changedir = {toxinidir}
147148
commands = tox -e pyup,isort,yapf,mypy,lint {posargs}
148149

149150

151+
[testenv:coverage]
152+
basepython = python3.6
153+
skip_install = True
154+
ignore_errors = true
155+
whitelist_externals = /bin/bash
156+
changedir = {toxinidir}
157+
deps =
158+
coverage
159+
coverage_pyver_pragma
160+
commands =
161+
/bin/bash -c "rm -rf htmlcov"
162+
coverage html
163+
/bin/bash -c "DISPLAY=:0 firefox 'htmlcov/index.html'"
164+
165+
150166
[flake8]
151167
max-line-length = 120
152-
select = E301 E303 E304 E305 E306 E502 W291 W293 W391 E226 E225 E241 E231 W292 E265 E101 E111 E112 E113 E121 E122 E125 E127 E128 E129 E131 E133 E201 E202 E203 E211 E222 E223 E224 E225 E227 E228 E242 E251 E261 E262 E271 E272 E402 E703 E711 E712 E713 E714 E721 W504 E302 YTT101 YTT102 YTT103 YTT201 YTT202 YTT203 YTT204 YTT301 YTT302 YTT303 STRFTIME001 STRFTIME002 PT001 PT002 PT003 PT004 PT005 PT006 PT007 PT008 PT009 PT010 PT011 PT012 PT013 PT014 PT015 PT016 PT017 PT018 PT019 PT020 PT021 RST201 RST202 RST203 RST204 RST205 RST206 RST207 RST208 RST210 RST211 RST212 RST213 RST214 RST215 RST216 RST217 RST218 RST219 RST299 RST301 RST302 RST303 RST304 RST305 RST306 RST399 RST401 RST499 RST900 RST901 RST902 RST903 Q000 Q001 Q002 Q003 A001 A002 A003 D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417
168+
select = E301 E303 E304 E305 E306 E502 W291 W293 W391 E226 E225 E241 E231 W292 E265 E101 E111 E112 E113 E121 E122 E125 E127 E128 E129 E131 E133 E201 E202 E203 E211 E222 E223 E224 E225 E227 E228 E242 E251 E261 E262 E271 E272 E402 E703 E711 E712 E713 E714 E721 W504 E302 YTT101 YTT102 YTT103 YTT201 YTT202 YTT203 YTT204 YTT301 YTT302 YTT303 STRFTIME001 STRFTIME002 PT001 PT002 PT003 PT004 PT005 PT006 PT007 PT008 PT009 PT010 PT011 PT012 PT013 PT014 PT015 PT016 PT017 PT018 PT019 PT020 PT021 RST201 RST202 RST203 RST204 RST205 RST206 RST207 RST208 RST210 RST211 RST212 RST213 RST214 RST215 RST216 RST217 RST218 RST219 RST299 RST301 RST302 RST303 RST304 RST305 RST306 RST399 RST401 RST499 RST900 RST901 RST902 RST903 Q000 Q001 Q002 Q003 A001 A002 A003 ASN001 D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417
153169
exclude = .git,__pycache__,doc-source,old,build,dist,make_conda_recipe.py,__pkginfo__.py,setup.py
154170
rst-roles =
155171
class,

0 commit comments

Comments
 (0)