treewide: remove dead pytestpep8 references
pytestpep8 was removed in 25c9946f95a0be44a5794da66da1e7f2ca116d42. This removes pytestpep8 in the rest of the tree, where it was hardly used.
This commit is contained in:
parent
25c9946f95
commit
6bb2eae2ff
@ -66,7 +66,6 @@ python3Packages.buildPythonApplication rec {
|
|||||||
mock
|
mock
|
||||||
pytest
|
pytest
|
||||||
pytest-mock
|
pytest-mock
|
||||||
pytestpep8
|
|
||||||
xvfb_run
|
xvfb_run
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -95,7 +94,7 @@ python3Packages.buildPythonApplication rec {
|
|||||||
# skip tests in invocation that handle paths that
|
# skip tests in invocation that handle paths that
|
||||||
# aren't nix friendly (i think)
|
# aren't nix friendly (i think)
|
||||||
xvfb-run -s '-screen 0 1024x768x16' \
|
xvfb-run -s '-screen 0 1024x768x16' \
|
||||||
pytest -k 'not TestPath and not test_handle_key_press_event' --pep8 tests
|
pytest -k 'not TestPath and not test_handle_key_press_event' tests
|
||||||
|
|
||||||
runHook postCheck
|
runHook postCheck
|
||||||
'';
|
'';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestcov, mock, pytestpep8
|
{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestcov, mock
|
||||||
, pytest_xdist, covCore, glibcLocales }:
|
, pytest_xdist, covCore, glibcLocales }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -16,7 +16,6 @@ buildPythonPackage rec {
|
|||||||
pytest
|
pytest
|
||||||
pytestcov
|
pytestcov
|
||||||
mock
|
mock
|
||||||
pytestpep8
|
|
||||||
pytest_xdist
|
pytest_xdist
|
||||||
covCore
|
covCore
|
||||||
];
|
];
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder
|
{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder
|
||||||
, tatsu, arrow
|
, tatsu, arrow
|
||||||
, pytestCheckHook, pytestpep8, pytest-flakes
|
, pytestCheckHook, pytest-flakes
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
|||||||
--replace "arrow>=0.11,<0.15" "arrow"
|
--replace "arrow>=0.11,<0.15" "arrow"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook pytestpep8 pytest-flakes ];
|
checkInputs = [ pytestCheckHook pytest-flakes ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Pythonic and easy iCalendar library (RFC 5545)";
|
description = "Pythonic and easy iCalendar library (RFC 5545)";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ lib, fetchFromGitHub, buildPythonPackage, six
|
{ lib, fetchFromGitHub, buildPythonPackage, six
|
||||||
, flake8, pep8-naming, pytest, pytestcov, pytestpep8 }:
|
, flake8, pep8-naming, pytest, pytestcov }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jsonlines";
|
pname = "jsonlines";
|
||||||
@ -14,7 +14,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ six ];
|
propagatedBuildInputs = [ six ];
|
||||||
|
|
||||||
checkInputs = [ flake8 pep8-naming pytest pytestcov pytestpep8 ];
|
checkInputs = [ flake8 pep8-naming pytest pytestcov ];
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
pytest
|
pytest
|
||||||
'';
|
'';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
, pytest, pytestcov, pytestpep8, pytest_xdist
|
, pytest, pytestcov, pytest_xdist
|
||||||
, six, numpy, scipy, pyyaml, h5py
|
, six, numpy, scipy, pyyaml, h5py
|
||||||
, keras-applications, keras-preprocessing
|
, keras-applications, keras-preprocessing
|
||||||
}:
|
}:
|
||||||
@ -16,7 +16,6 @@ buildPythonPackage rec {
|
|||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytest
|
||||||
pytestcov
|
pytestcov
|
||||||
pytestpep8
|
|
||||||
pytest_xdist
|
pytest_xdist
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchFromGitHub
|
{ stdenv, buildPythonPackage, fetchFromGitHub
|
||||||
, requests, requests_oauthlib, six
|
, requests, requests_oauthlib, six
|
||||||
, pytest, pytestpep8, pytestcache, pytestcov, responses, mock
|
, pytest, pytestcache, pytestcov, responses, mock
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -14,7 +14,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "120snnsh9n5svfwkyj1w9jrxf99jnqm0jk282yypd3lpyca1l9hj";
|
sha256 = "120snnsh9n5svfwkyj1w9jrxf99jnqm0jk282yypd3lpyca1l9hj";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest pytestpep8 pytestcache pytestcov responses mock ];
|
checkInputs = [ pytest pytestcache pytestcov responses mock ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ requests requests_oauthlib six ];
|
propagatedBuildInputs = [ requests requests_oauthlib six ];
|
||||||
|
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
, python-utils
|
, python-utils
|
||||||
, sphinx
|
, sphinx
|
||||||
, flake8
|
, flake8
|
||||||
, pytestpep8
|
|
||||||
, pytest-flakes
|
, pytest-flakes
|
||||||
, pytestcov
|
, pytestcov
|
||||||
, pytestcache
|
, pytestcache
|
||||||
@ -26,7 +25,7 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [ python-utils ];
|
propagatedBuildInputs = [ python-utils ];
|
||||||
nativeBuildInputs = [ pytestrunner ];
|
nativeBuildInputs = [ pytestrunner ];
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest sphinx flake8 pytestpep8 pytest-flakes pytestcov
|
pytest sphinx flake8 pytest-flakes pytestcov
|
||||||
pytestcache freezegun
|
pytestcache freezegun
|
||||||
];
|
];
|
||||||
# ignore tests on the nix wrapped setup.py
|
# ignore tests on the nix wrapped setup.py
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k, pythonOlder
|
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k, pythonOlder
|
||||||
, snowballstemmer, six, configparser
|
, snowballstemmer, six, configparser
|
||||||
, pytest, pytestpep8, mock, pathlib }:
|
, pytest, mock, pathlib }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pydocstyle";
|
pname = "pydocstyle";
|
||||||
@ -17,11 +17,11 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ snowballstemmer six ] ++ lib.optional (!isPy3k) configparser;
|
propagatedBuildInputs = [ snowballstemmer six ] ++ lib.optional (!isPy3k) configparser;
|
||||||
|
|
||||||
checkInputs = [ pytest pytestpep8 mock ] ++ lib.optional (pythonOlder "3.4") pathlib;
|
checkInputs = [ pytest mock ] ++ lib.optional (pythonOlder "3.4") pathlib;
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
# test_integration.py installs packages via pip
|
# test_integration.py installs packages via pip
|
||||||
py.test --pep8 --cache-clear -vv src/tests -k "not test_integration"
|
py.test --cache-clear -vv src/tests -k "not test_integration"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
|
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
|
||||||
, mock
|
, mock
|
||||||
, pytest
|
, pytest
|
||||||
, pytestpep8
|
|
||||||
, snowballstemmer
|
, snowballstemmer
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
, pytestcov
|
, pytestcov
|
||||||
, covCore
|
, covCore
|
||||||
, pytest-flakes
|
, pytest-flakes
|
||||||
, pytestpep8
|
|
||||||
, sphinx
|
, sphinx
|
||||||
, mock
|
, mock
|
||||||
, chalice
|
, chalice
|
||||||
@ -35,7 +34,7 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [ httplib2 oauth oauth2 semantic-version ];
|
propagatedBuildInputs = [ httplib2 oauth oauth2 semantic-version ];
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
flask httpretty oauthlib pyflakes pytest pytestcache pytestcov covCore
|
flask httpretty oauthlib pyflakes pytest pytestcache pytestcov covCore
|
||||||
pytest-flakes pytestpep8 sphinx mock chalice
|
pytest-flakes sphinx mock chalice
|
||||||
];
|
];
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
, factory_boy
|
, factory_boy
|
||||||
, pytestcache
|
, pytestcache
|
||||||
, pytestcov
|
, pytestcov
|
||||||
, pytestpep8
|
|
||||||
, mock
|
, mock
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -30,7 +29,6 @@ buildPythonPackage rec {
|
|||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytestcache
|
pytestcache
|
||||||
pytestcov
|
pytestcov
|
||||||
pytestpep8
|
|
||||||
];
|
];
|
||||||
pytestFlagsArray = [ "--ignore=docs" ];
|
pytestFlagsArray = [ "--ignore=docs" ];
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
|
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
|
||||||
, pytestpep8
|
|
||||||
, pytest
|
, pytest
|
||||||
, pyflakes
|
, pyflakes
|
||||||
}:
|
}:
|
||||||
@ -16,7 +15,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "bf070c5485dad82d5b5f5d0eb08d269737e378492d9a68f5223b0a90924c7754";
|
sha256 = "bf070c5485dad82d5b5f5d0eb08d269737e378492d9a68f5223b0a90924c7754";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytestpep8 pytest ];
|
checkInputs = [ pytest ];
|
||||||
propagatedBuildInputs = [ pytest pyflakes ];
|
propagatedBuildInputs = [ pytest pyflakes ];
|
||||||
|
|
||||||
# no longer passes
|
# no longer passes
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi, pytest, pytest-flakes, pytestpep8, tox }:
|
{ stdenv, buildPythonPackage, fetchPypi, pytest, pytest-flakes, tox }:
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytest-quickcheck";
|
pname = "pytest-quickcheck";
|
||||||
version = "0.8.6";
|
version = "0.8.6";
|
||||||
@ -9,7 +9,7 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pytest ];
|
buildInputs = [ pytest ];
|
||||||
propagatedBuildInputs = [ pytest-flakes pytestpep8 tox ];
|
propagatedBuildInputs = [ pytest-flakes tox ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, pytest, pytestrunner, pytestcov, pytest-flakes, pytestpep8, sphinx, six }:
|
{ lib, buildPythonPackage, fetchPypi, pytest, pytestrunner, pytestcov, pytest-flakes, sphinx, six }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-utils";
|
pname = "python-utils";
|
||||||
@ -14,7 +14,7 @@ buildPythonPackage rec {
|
|||||||
rm tests/*.pyc
|
rm tests/*.pyc
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkInputs = [ pytest pytestrunner pytestcov pytest-flakes pytestpep8 sphinx ];
|
checkInputs = [ pytest pytestrunner pytestcov pytest-flakes sphinx ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test tests
|
py.test tests
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi
|
{ lib, buildPythonPackage, fetchPypi
|
||||||
, pbr, requests
|
, pbr, requests
|
||||||
, pytest, pytestpep8, waitress }:
|
, pytest, waitress }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "requests-unixsocket";
|
pname = "requests-unixsocket";
|
||||||
@ -14,7 +14,7 @@ buildPythonPackage rec {
|
|||||||
nativeBuildInputs = [ pbr ];
|
nativeBuildInputs = [ pbr ];
|
||||||
propagatedBuildInputs = [ requests ];
|
propagatedBuildInputs = [ requests ];
|
||||||
|
|
||||||
checkInputs = [ pytest pytestpep8 waitress ];
|
checkInputs = [ pytest waitress ];
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
rm pytest.ini
|
rm pytest.ini
|
||||||
py.test
|
py.test
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
, sympy
|
, sympy
|
||||||
, vcrpy
|
, vcrpy
|
||||||
, pytest
|
, pytest
|
||||||
, pytestpep8
|
|
||||||
, pytest-flakes
|
, pytest-flakes
|
||||||
, pytestcov
|
, pytestcov
|
||||||
, pytestrunner
|
, pytestrunner
|
||||||
@ -42,7 +41,7 @@ buildPythonPackage rec {
|
|||||||
] ++ lib.optional (!isPy3k) futures;
|
] ++ lib.optional (!isPy3k) futures;
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
sympy vcrpy pytest pytestpep8 pytest-flakes
|
sympy vcrpy pytest pytest-flakes
|
||||||
pytestcov pytestrunner
|
pytestcov pytestrunner
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -32,7 +32,6 @@ python3Packages.buildPythonApplication rec {
|
|||||||
nginx
|
nginx
|
||||||
pytest
|
pytest
|
||||||
pytest-flake8
|
pytest-flake8
|
||||||
pytestpep8
|
|
||||||
webtest
|
webtest
|
||||||
] ++ stdenv.lib.optionals isPy27 [ mock ];
|
] ++ stdenv.lib.optionals isPy27 [ mock ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user