WIP: oneshot

5 jobs for oneshot in 35 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Test
failed #389461
amd64 linux docker
test:flake8

00:00:29

passed #389460
amd64 linux docker
test:mypy

00:00:35

failed #389462
amd64 linux docker
test:pylint

00:00:35

passed #389463
amd64 linux docker
test:pytest

00:00:35

failed #389464
amd64 linux docker
test:respdiff

00:00:32

 
Name Stage Failure
failed
test:pylint Test
        with open(Path(outdir) / Path(f'{self.server}.txt') , 'w') as f_txt:
^ (bad-whitespace)
oneshot.py:100:12: W0621: Redefining name 'result' from outer scope (line 192) (redefined-outer-name)
oneshot.py:112:8: E0401: Unable to import 'IPython.core.debugger' (import-error)

-----------------------------------
Your code has been rated at 9.98/10

ERROR: Job failed: exit code 1
failed
test:respdiff Test
Traceback (most recent call last):
File "/builds/knot/respdiff/respdiff/database.py", line 132, in key_value_stream
yield key, blob
lmdb.Error: Attempt to operate on closed/deleted/dropped object.

real 0m1.192s
user 0m0.716s
sys 0m0.376s
ERROR: Job failed: exit code 1
failed
test:flake8 Test
./oneshot.py:81:101: E501 line too long (121 > 100 characters)
./oneshot.py:91:5: E303 too many blank lines (2)
./oneshot.py:112:9: F401 'IPython.core.debugger.set_trace' imported but unused
./oneshot.py:114:13: E265 block comment should start with '# '
./oneshot.py:144:1: E302 expected 2 blank lines, found 1
./oneshot.py:153:9: E128 continuation line under-indented for visual indent
./oneshot.py:158:9: E128 continuation line under-indented for visual indent
./oneshot.py:189:1: E305 expected 2 blank lines after class or function definition, found 1
ERROR: Job failed: exit code 1