python.pkgs: rename pytestflakes to pytest-flakes
to follow naming guideline
This commit is contained in:
parent
9dc262c659
commit
6f0555b030
@ -1,5 +1,5 @@
|
||||
{ buildPythonPackage, stdenv, pyyaml, pytest, enum34
|
||||
, pytestpep8, pytestflakes, fetchFromGitHub, isPy3k, lib, glibcLocales
|
||||
, pytestpep8, pytest-flakes, fetchFromGitHub, isPy3k, lib, glibcLocales
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
checkInputs = [ pyyaml pytestpep8 pytestflakes pytest glibcLocales ];
|
||||
checkInputs = [ pyyaml pytestpep8 pytest-flakes pytest glibcLocales ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
|
@ -7,7 +7,7 @@
|
||||
, sphinx
|
||||
, flake8
|
||||
, pytestpep8
|
||||
, pytestflakes
|
||||
, pytest-flakes
|
||||
, pytestcov
|
||||
, pytestcache
|
||||
, pytestrunner
|
||||
@ -31,7 +31,7 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [ python-utils ];
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
checkInputs = [
|
||||
pytest sphinx flake8 pytestpep8 pytestflakes pytestcov
|
||||
pytest sphinx flake8 pytestpep8 pytest-flakes pytestcov
|
||||
pytestcache freezegun
|
||||
];
|
||||
# ignore tests on the nix wrapped setup.py and don't flake .eggs directory
|
||||
|
@ -13,7 +13,7 @@
|
||||
, pytestcache
|
||||
, pytestcov
|
||||
, covCore
|
||||
, pytestflakes
|
||||
, pytest-flakes
|
||||
, pytestpep8
|
||||
, sphinx
|
||||
, mock
|
||||
@ -35,7 +35,7 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [ httplib2 oauth oauth2 semantic-version ];
|
||||
checkInputs = [
|
||||
flask httpretty oauthlib pyflakes pytest pytestcache pytestcov covCore
|
||||
pytestflakes pytestpep8 sphinx mock chalice
|
||||
pytest-flakes pytestpep8 sphinx mock chalice
|
||||
];
|
||||
|
||||
src = fetchPypi {
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestflakes, pytestpep8, tox }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytest, pytest-flakes, pytestpep8, tox }:
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-quickcheck";
|
||||
version = "0.8.3";
|
||||
@ -9,7 +9,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ pytestflakes pytestpep8 tox ];
|
||||
propagatedBuildInputs = [ pytest-flakes pytestpep8 tox ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
license = licenses.asl20;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pytest, pytestrunner, pytestcov, pytestflakes, pytestpep8, sphinx, six }:
|
||||
{ lib, buildPythonPackage, fetchPypi, pytest, pytestrunner, pytestcov, pytest-flakes, pytestpep8, sphinx, six }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-utils";
|
||||
@ -14,7 +14,7 @@ buildPythonPackage rec {
|
||||
rm tests/*.pyc
|
||||
'';
|
||||
|
||||
checkInputs = [ pytest pytestrunner pytestcov pytestflakes pytestpep8 sphinx ];
|
||||
checkInputs = [ pytest pytestrunner pytestcov pytest-flakes pytestpep8 sphinx ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test tests
|
||||
|
@ -17,7 +17,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
};
|
||||
|
||||
checkInputs = with pythonPackages; [
|
||||
pytest pytestflakes webtest mock
|
||||
pytest pytest-flakes webtest mock
|
||||
devpi-server tox
|
||||
sphinx wheel git mercurial detox
|
||||
setuptools
|
||||
|
@ -1542,7 +1542,7 @@ in {
|
||||
|
||||
pytest-flake8 = callPackage ../development/python-modules/pytest-flake8 { };
|
||||
|
||||
pytestflakes = callPackage ../development/python-modules/pytest-flakes { };
|
||||
pytest-flakes = callPackage ../development/python-modules/pytest-flakes { };
|
||||
|
||||
pytest-isort = callPackage ../development/python-modules/pytest-isort { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user