python.pkgs.pycodestyle: fixup tests
This commit is contained in:
parent
3e28db9eb8
commit
5c08320af6
@ -1,6 +1,7 @@
|
|||||||
{ buildPythonPackage
|
{ buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, lib
|
, lib
|
||||||
|
, python
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -12,12 +13,14 @@ buildPythonPackage rec {
|
|||||||
sha256 = "c58a7d2815e0e8d7972bf1803331fb0152f867bd89adf8a01dfd55085434192e";
|
sha256 = "c58a7d2815e0e8d7972bf1803331fb0152f867bd89adf8a01dfd55085434192e";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
dontUseSetuptoolsCheck = true;
|
||||||
|
|
||||||
# https://github.com/PyCQA/pycodestyle/blob/2.5.0/tox.ini#L14
|
# https://github.com/PyCQA/pycodestyle/blob/2.5.0/tox.ini#L14
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
python pycodestyle.py --max-doc-length=72 --testsuite testsuite
|
${python.interpreter} pycodestyle.py --max-doc-length=72 --testsuite testsuite
|
||||||
python pycodestyle.py --statistics pycodestyle.py
|
${python.interpreter} pycodestyle.py --statistics pycodestyle.py
|
||||||
python pycodestyle.py --max-doc-length=72 --doctest
|
${python.interpreter} pycodestyle.py --max-doc-length=72 --doctest
|
||||||
python setup.py test
|
${python.interpreter} -m unittest discover testsuite -vv
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user