pythonPackages.pylint-django: checkPhase
This commit is contained in:
parent
b3847686f8
commit
8d9f9fda64
@ -6,6 +6,11 @@
|
|||||||
# pythonPackages
|
# pythonPackages
|
||||||
, django
|
, django
|
||||||
, pylint-plugin-utils
|
, pylint-plugin-utils
|
||||||
|
|
||||||
|
# pythonPackages for checkInputs
|
||||||
|
, coverage
|
||||||
|
, factory_boy
|
||||||
|
, pytest
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -25,8 +30,14 @@ buildPythonPackage rec {
|
|||||||
pylint-plugin-utils
|
pylint-plugin-utils
|
||||||
];
|
];
|
||||||
|
|
||||||
# Testing requires checkout from other repositories
|
checkInputs = [ coverage factory_boy pytest ];
|
||||||
doCheck = false;
|
|
||||||
|
# Check command taken from scripts/test.sh
|
||||||
|
# Skip test external_django_tables2_noerror_meta_class:
|
||||||
|
# requires an unpackaged django_tables2
|
||||||
|
checkPhase = ''
|
||||||
|
python pylint_django/tests/test_func.py -v -k "not tables2"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A Pylint plugin to analyze Django applications";
|
description = "A Pylint plugin to analyze Django applications";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user