-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
14407aa
commit 5ebe65a
Showing
9 changed files
with
74 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
sudo: false | ||
language: python | ||
matrix: | ||
include: | ||
- python: '3.6' | ||
install: | ||
- 'pip install flake8' | ||
script: | ||
- flake8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[flake8] | ||
max-line-length = 110 | ||
ignore = E133, E226, E228, N802, N803, N806 | ||
exclude = | ||
bin, | ||
doc, | ||
**/*/__init__.py, | ||
**/*/version.py, | ||
tests/.tests | ||
|
||
[tool:pytest] | ||
addopts = --flake8 | ||
flake8-ignore = E133 E226 E228 E251 N802 N803 N806 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<?xml version="1.0" encoding="utf-8"?><testsuite errors="0" failures="0" name="pytest" skips="0" tests="1" time="6.006"><testcase classname="ctrl_pool" file="python/lsst/ctrl/pool/pool.py" line="-1" name="python.lsst.ctrl.pool.pool" time="5.808513879776001"></testcase></testsuite> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
=========================================================== test session starts =========================================================== | ||
platform linux -- Python 3.6.2, pytest-3.2.0, py-1.5.4, pluggy-0.4.0 | ||
rootdir: /home/jcarlin/repos/ctrl_pool, inifile: setup.cfg | ||
plugins: cov-2.5.1, session2file-0.1.9, forked-0.2, xdist-1.20.1, flake8-0.9.1, nbval-0.9.1 | ||
|
||
collecting 12 items | ||
|
||
collected 12 items | ||
run-last-failure: rerun previous 1 failure | ||
|
||
python/lsst/ctrl/pool/pool.py . | ||
|
||
--------------------------- generated xml file: /home/jcarlin/repos/ctrl_pool/tests/.tests/pytest-ctrl_pool.xml --------------------------- | ||
============================================================ warnings summary ============================================================= | ||
python/lsst/ctrl/pool/pool.py | ||
/opt/lsst/software/stack/stack/miniconda3-4.5.4-10a4fa6/Linux64/pycodestyle/2.3.1+3/lib/python/pycodestyle-2.3.1-py3.6.egg/pycodestyle.py:127: DeprecationWarning: invalid escape sequence \s | ||
r'^\s*({0})'.format('|'.join(s.replace(' ', '\s+') for s in ( | ||
|
||
-- Docs: http://doc.pytest.org/en/latest/warnings.html | ||
=========================================================== 11 tests deselected =========================================================== | ||
=========================================== 1 passed, 11 deselected, 1 warnings in 6.00 seconds =========================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# -*- python -*- | ||
from lsst.sconsUtils import scripts | ||
scripts.BasicSConscript.tests(pyList=[]) |