django-nopassword
django-nopassword copied to clipboard
CircleCI is red
some tests are failing
Thanks @relekang , it's a good package we are using. I made a fork and will try to fix. I guess it is just some stuff in tox.ini. Releases:
# from circleci/config.yml
image: circleci/python:3.6
tox-3.14.1
flake8==3.7.9
mccabe==0.6.1
pycodestyle==2.5.0
pyflakes==2.1.1
Some sections need to be updated.
Strange I cannot assign to myself the issue :-/
Ah ok:
./tests/models.py:4:5: F401 'django.contrib.auth.models.UserManager' imported but unused
#!/bin/bash -eo pipefail
tox -e flake8
flake8 installed: entrypoints==0.3,flake8==3.7.9,mccabe==0.6.1,pycodestyle==2.5.0,pyflakes==2.1.1
flake8 run-test-pre: PYTHONHASHSEED='1589985555'
flake8 run-test: commands[0] | flake8
./tests/models.py:4:5: F401 'django.contrib.auth.models.UserManager' imported but unused
ERROR: InvocationError for command /home/circleci/project/.tox/flake8/bin/flake8 (exited with code 1)
___________________________________ summary ____________________________________
ERROR: flake8: commands failed
We can ignore F401, or per file ignore:
per-file-ignores =
tests/models.py:4:5: F401
I need to take a break, but I'll read this and come back:
http://flake8.pycqa.org/en/latest/user/options.html?highlight=per-file-ignores#cmdoption-flake8-per-file-ignores