mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
Merge pull request #107492 from SuperSandro2000/pythonPackages-disable-tests
This commit is contained in:
commit
a69415ef86
|
@ -13,9 +13,14 @@ buildPythonPackage rec {
|
|||
|
||||
buildInputs = [ setuptools_scm ];
|
||||
|
||||
# does not contain tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "backports.unittest_mock" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Provides a function install() which makes the mock module";
|
||||
homepage = "https://github.com/jaraco/backports.unittest_mock";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -18,6 +18,8 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ black pytest toml ];
|
||||
|
||||
# does not contain tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "pytest_black" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -17,8 +17,13 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools_scm ];
|
||||
|
||||
propagatedBuildInputs = [ pytest mypy filelock ];
|
||||
|
||||
# does not contain tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "pytest_mypy" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Mypy static type checker plugin for Pytest";
|
||||
homepage = "https://github.com/dbader/pytest-mypy";
|
||||
|
|
|
@ -14,6 +14,9 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "setuptools_scm_git_archive" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "setuptools_scm plugin for git archives";
|
||||
homepage = "https://github.com/Changaco/setuptools_scm_git_archive";
|
||||
|
|
Loading…
Reference in a new issue